Skip to content

Commit 677064b

Browse files
committed
Auto merge of #57925 - fintelia:riscv-cas, r=nagisa
Enable RISC-V atomic compare and swap Fixes #56564
2 parents 4916801 + 607c543 commit 677064b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_target/spec/riscv32imac_unknown_none_elf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub fn target() -> TargetResult {
1818
linker: Some("rust-lld".to_string()),
1919
cpu: "generic-rv32".to_string(),
2020
max_atomic_width: Some(32),
21-
atomic_cas: false, // incomplete +a extension
21+
atomic_cas: true,
2222
features: "+m,+a,+c".to_string(),
2323
executables: true,
2424
panic_strategy: PanicStrategy::Abort,

0 commit comments

Comments
 (0)