Skip to content

Commit 6d229f8

Browse files
committed
Vxworks riscv target specs: remove redundant zicsr feature
1 parent 4957eda commit 6d229f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

compiler/rustc_target/src/spec/targets/riscv32_wrs_vxworks.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::spec::{base, StackProbeType, Target, TargetOptions};
1+
use crate::spec::{StackProbeType, Target, TargetOptions, base};
22

33
pub(crate) fn target() -> Target {
44
Target {
@@ -16,7 +16,7 @@ pub(crate) fn target() -> Target {
1616
cpu: "generic-rv32".into(),
1717
llvm_abiname: "ilp32d".into(),
1818
max_atomic_width: Some(32),
19-
features: "+m,+a,+f,+d,+c,+zicsr".into(),
19+
features: "+m,+a,+f,+d,+c".into(),
2020
stack_probes: StackProbeType::Inline,
2121
..base::vxworks::opts()
2222
},

compiler/rustc_target/src/spec/targets/riscv64_wrs_vxworks.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::spec::{base, StackProbeType, Target, TargetOptions};
1+
use crate::spec::{StackProbeType, Target, TargetOptions, base};
22

33
pub(crate) fn target() -> Target {
44
Target {
@@ -16,7 +16,7 @@ pub(crate) fn target() -> Target {
1616
cpu: "generic-rv64".into(),
1717
llvm_abiname: "lp64d".into(),
1818
max_atomic_width: Some(64),
19-
features: "+m,+a,+f,+d,+c,+zicsr".into(),
19+
features: "+m,+a,+f,+d,+c".into(),
2020
stack_probes: StackProbeType::Inline,
2121
..base::vxworks::opts()
2222
},

0 commit comments

Comments
 (0)