mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-10 20:28:51 +00:00
Rollup merge of #114496 - taiki-e:sparc32-atomic, r=Amanieu
Set max_atomic_width for sparc-unknown-linux-gnu to 32 This is currently set to 6490f0b24ad3/compiler/rustc_target/src/spec/sparc_unknown_linux_gnu.rs (L8)
However, AFAIK, this architecture doesn't support 64-bit atomics, and LLVM generates libcalls: https://godbolt.org/z/chzThWGG1 (Currently, attempts to run `cargo test` for this target result in "undefined reference to `__sync_val_compare_and_swap_8'" error.02efe1e74f
) r? `@Amanieu`
This commit is contained in:
commit
5be0c6bcd1