Enable RISC-V atomic compare and swap
This commit is contained in:
parent
74ff7dcb13
commit
607c5431ae
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,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