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 64

90f0b24ad3/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:
Matthias Krüger 2023-08-07 16:47:56 +02:00 committed by GitHub
commit 5be0c6bcd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

Diff content is not available