[RISCV] Disable c extension and atomic_cas.

This commit is contained in:
David Craven 2018-07-28 19:20:14 +02:00
parent 7a5e8bdc02
commit d974dc9a78
No known key found for this signature in database
GPG key ID: 33B9E9FDE28D2C23

View file

@ -28,7 +28,8 @@ pub fn target() -> TargetResult {
linker: Some("riscv32-unknown-elf-ld".to_string()),
cpu: "generic-rv32".to_string(),
max_atomic_width: Some(32),
features: "+m,+a,+c".to_string(),
atomic_cas: false, // incomplete +a extension
features: "+m,+a".to_string(), // disable +c extension
executables: true,
panic_strategy: PanicStrategy::Abort,
relocation_model: "static".to_string(),