Skip to content

Commit cd862a8

Browse files
committed
[RISCV] Enable C extension.
1 parent f00a952 commit cd862a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/librustc_target/spec/riscv32imac_unknown_none_elf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub fn target() -> TargetResult {
3030
cpu: "generic-rv32".to_string(),
3131
max_atomic_width: Some(32),
3232
atomic_cas: false, // incomplete +a extension
33-
features: "+m,+a".to_string(), // disable +c extension
33+
features: "+m,+a,+c".to_string(),
3434
executables: true,
3535
panic_strategy: PanicStrategy::Abort,
3636
relocation_model: "static".to_string(),

0 commit comments

Comments
 (0)