Skip to content

Commit

Permalink
Vxworks riscv target specs: remove redundant zicsr feature
Browse files Browse the repository at this point in the history
  • Loading branch information
biabbas committed Sep 25, 2024
1 parent 4957eda commit 6d229f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_target/src/spec/targets/riscv32_wrs_vxworks.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::spec::{base, StackProbeType, Target, TargetOptions};
use crate::spec::{StackProbeType, Target, TargetOptions, base};

pub(crate) fn target() -> Target {
Target {
Expand All @@ -16,7 +16,7 @@ pub(crate) fn target() -> Target {
cpu: "generic-rv32".into(),
llvm_abiname: "ilp32d".into(),
max_atomic_width: Some(32),
features: "+m,+a,+f,+d,+c,+zicsr".into(),
features: "+m,+a,+f,+d,+c".into(),
stack_probes: StackProbeType::Inline,
..base::vxworks::opts()
},
Expand Down
4 changes: 2 additions & 2 deletions compiler/rustc_target/src/spec/targets/riscv64_wrs_vxworks.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::spec::{base, StackProbeType, Target, TargetOptions};
use crate::spec::{StackProbeType, Target, TargetOptions, base};

pub(crate) fn target() -> Target {
Target {
Expand All @@ -16,7 +16,7 @@ pub(crate) fn target() -> Target {
cpu: "generic-rv64".into(),
llvm_abiname: "lp64d".into(),
max_atomic_width: Some(64),
features: "+m,+a,+f,+d,+c,+zicsr".into(),
features: "+m,+a,+f,+d,+c".into(),
stack_probes: StackProbeType::Inline,
..base::vxworks::opts()
},
Expand Down

0 comments on commit 6d229f8

Please sign in to comment.