Enable LSX feature for LoongArch Linux targets · rust-lang/rust@baa3b6d (original) (raw)

File tree

2 files changed

lines changed

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ pub(crate) fn target() -> Target {
15 15 options: TargetOptions {
16 16 code_model: Some(CodeModel::Medium),
17 17 cpu: "generic".into(),
18 -features: "+f,+d".into(),
18 +features: "+f,+d,+lsx".into(),
19 19 llvm_abiname: "lp64d".into(),
20 20 max_atomic_width: Some(64),
21 21 supported_sanitizers: SanitizerSet::ADDRESS
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ pub(crate) fn target() -> Target {
15 15 options: TargetOptions {
16 16 code_model: Some(CodeModel::Medium),
17 17 cpu: "generic".into(),
18 -features: "+f,+d".into(),
18 +features: "+f,+d,+lsx".into(),
19 19 llvm_abiname: "lp64d".into(),
20 20 max_atomic_width: Some(64),
21 21 crt_static_default: false,