Skip to content

Commit

Permalink
[RISCV] Disable atomics for riscv32imc-unknown-none-elf.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvc94ch committed Aug 30, 2018
1 parent 8dfd5c3 commit 173c679
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/librustc_target/spec/riscv32imc_unknown_none_elf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ pub fn target() -> TargetResult {
options: TargetOptions {
linker: Some("rust-lld".to_string()),
cpu: "generic-rv32".to_string(),
max_atomic_width: Some(32),
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86005
max_atomic_width: None, //Some(32),
atomic_cas: false,
features: "+m,+c".to_string(),
executables: true,
Expand Down

0 comments on commit 173c679

Please sign in to comment.