[RISCV] Disable atomics for riscv32imc-unknown-none-elf.

This commit is contained in:
David Craven 2018-08-30 20:35:36 +02:00
parent 8dfd5c39a1
commit 173c67948b
No known key found for this signature in database
GPG Key ID: 33B9E9FDE28D2C23

View File

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