Enable RISC-V atomic compare and swap

This commit is contained in:
Jonathan Behrens 2019-01-26 16:42:42 -05:00
parent 74ff7dcb13
commit 607c5431ae

View file

@ -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,