Skip to content

Commit 502d0c9

Browse files
authored
Unrolled build for rust-lang#132140
Rollup merge of rust-lang#132140 - heiher:loong-lsx, r=Urgau Enable LSX feature for LoongArch Linux targets Enable 128-bit vector (LSX) feature for `loongarch64-unknown-linux-{gnu, musl}` targets. try-job: dist-loongarch64-linux try-job: dist-loongarch64-musl
2 parents 17f8215 + baa3b6d commit 502d0c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub(crate) fn target() -> Target {
1515
options: TargetOptions {
1616
code_model: Some(CodeModel::Medium),
1717
cpu: "generic".into(),
18-
features: "+f,+d".into(),
18+
features: "+f,+d,+lsx".into(),
1919
llvm_abiname: "lp64d".into(),
2020
max_atomic_width: Some(64),
2121
supported_sanitizers: SanitizerSet::ADDRESS

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub(crate) fn target() -> Target {
1515
options: TargetOptions {
1616
code_model: Some(CodeModel::Medium),
1717
cpu: "generic".into(),
18-
features: "+f,+d".into(),
18+
features: "+f,+d,+lsx".into(),
1919
llvm_abiname: "lp64d".into(),
2020
max_atomic_width: Some(64),
2121
crt_static_default: false,

0 commit comments

Comments
 (0)