Skip to content

Commit 173c679

Browse files
committed
[RISCV] Disable atomics for riscv32imc-unknown-none-elf.
1 parent 8dfd5c3 commit 173c679

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_target/spec/riscv32imc_unknown_none_elf.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ pub fn target() -> TargetResult {
2727
options: TargetOptions {
2828
linker: Some("rust-lld".to_string()),
2929
cpu: "generic-rv32".to_string(),
30-
max_atomic_width: Some(32),
30+
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86005
31+
max_atomic_width: None, //Some(32),
3132
atomic_cas: false,
3233
features: "+m,+c".to_string(),
3334
executables: true,

0 commit comments

Comments
 (0)