[RISCV] Disable Atomics on all Non-A RISC-V targets
This commit is contained in:
parent
2cad8bb659
commit
ca42c25598
2 changed files with 2 additions and 3 deletions
|
@ -17,7 +17,7 @@ pub fn target() -> TargetResult {
|
|||
options: TargetOptions {
|
||||
linker: Some("rust-lld".to_string()),
|
||||
cpu: "generic-rv32".to_string(),
|
||||
max_atomic_width: None,
|
||||
max_atomic_width: Some(0),
|
||||
atomic_cas: false,
|
||||
features: String::new(),
|
||||
executables: true,
|
||||
|
|
|
@ -17,8 +17,7 @@ pub fn target() -> TargetResult {
|
|||
options: TargetOptions {
|
||||
linker: Some("rust-lld".to_string()),
|
||||
cpu: "generic-rv32".to_string(),
|
||||
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86005
|
||||
max_atomic_width: None, //Some(32),
|
||||
max_atomic_width: Some(0),
|
||||
atomic_cas: false,
|
||||
features: "+m,+c".to_string(),
|
||||
executables: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue