Skip to content

Commit

Permalink
Rollup merge of rust-lang#57925 - fintelia:riscv-cas, r=nagisa
Browse files Browse the repository at this point in the history
Enable RISC-V atomic compare and swap

Fixes rust-lang#56564
  • Loading branch information
Centril committed Jan 27, 2019
2 parents 93350f4 + 607c543 commit b3dbeee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_target/spec/riscv32imac_unknown_none_elf.rs
Expand Up @@ -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,
Expand Down

0 comments on commit b3dbeee

Please sign in to comment.