diff options
| author | B I Mohammed Abbas <bimohammadabbas@gmail.com> | 2024-09-25 09:46:15 +0530 |
|---|---|---|
| committer | B I Mohammed Abbas <bimohammadabbas@gmail.com> | 2024-09-25 09:46:15 +0530 |
| commit | 6d229f89ba9b828a0482b892eb87989a41c24af5 (patch) | |
| tree | 108d3085526e16b2cfceb701fdfb66dc5e761fa6 /compiler | |
| parent | 4957eda2c17ff43d52ece67b118ec304e5c41f11 (diff) | |
| download | rust-6d229f89ba9b828a0482b892eb87989a41c24af5.tar.gz rust-6d229f89ba9b828a0482b892eb87989a41c24af5.zip | |
Vxworks riscv target specs: remove redundant zicsr feature
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_target/src/spec/targets/riscv32_wrs_vxworks.rs | 4 | ||||
| -rw-r--r-- | compiler/rustc_target/src/spec/targets/riscv64_wrs_vxworks.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/compiler/rustc_target/src/spec/targets/riscv32_wrs_vxworks.rs b/compiler/rustc_target/src/spec/targets/riscv32_wrs_vxworks.rs index 5d4b7a3e946..4d3df78a563 100644 --- a/compiler/rustc_target/src/spec/targets/riscv32_wrs_vxworks.rs +++ b/compiler/rustc_target/src/spec/targets/riscv32_wrs_vxworks.rs @@ -1,4 +1,4 @@ -use crate::spec::{base, StackProbeType, Target, TargetOptions}; +use crate::spec::{StackProbeType, Target, TargetOptions, base}; pub(crate) fn target() -> Target { Target { @@ -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() }, diff --git a/compiler/rustc_target/src/spec/targets/riscv64_wrs_vxworks.rs b/compiler/rustc_target/src/spec/targets/riscv64_wrs_vxworks.rs index 5cddce29aa0..720549e6a01 100644 --- a/compiler/rustc_target/src/spec/targets/riscv64_wrs_vxworks.rs +++ b/compiler/rustc_target/src/spec/targets/riscv64_wrs_vxworks.rs @@ -1,4 +1,4 @@ -use crate::spec::{base, StackProbeType, Target, TargetOptions}; +use crate::spec::{StackProbeType, Target, TargetOptions, base}; pub(crate) fn target() -> Target { Target { @@ -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() }, |
