Auto merge of #57925 - fintelia:riscv-cas, r=nagisa
Enable RISC-V atomic compare and swap Fixes #56564
This commit is contained in:
commit
677064b979
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ pub fn target() -> TargetResult {
|
|||
linker: Some("rust-lld".to_string()),
|
||||
cpu: "generic-rv32".to_string(),
|
||||
max_atomic_width: Some(32),
|
||||
atomic_cas: false, // incomplete +a extension
|
||||
atomic_cas: true,
|
||||
features: "+m,+a,+c".to_string(),
|
||||
executables: true,
|
||||
panic_strategy: PanicStrategy::Abort,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue