diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-12-25 17:25:59 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-25 17:25:59 +0800 |
| commit | d04f8bd00c3921c184c83fc8ff73b70e3d5fb2d6 (patch) | |
| tree | bfe8a92230cb483e32d1cdd5b7e0d55d5727c5a8 /compiler | |
| parent | db3404a896800b092b3ef2cca91df3203ab3e719 (diff) | |
| parent | 652e48b38d9c210538e8ca37cf5394786d9dbfcb (diff) | |
| download | rust-d04f8bd00c3921c184c83fc8ff73b70e3d5fb2d6.tar.gz rust-d04f8bd00c3921c184c83fc8ff73b70e3d5fb2d6.zip | |
Rollup merge of #134751 - heiher:loong-ohos-lsx, r=jieyouxu
Enable LSX feature for LoongArch OpenHarmony target
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_target/src/spec/targets/loongarch64_unknown_linux_ohos.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/targets/loongarch64_unknown_linux_ohos.rs b/compiler/rustc_target/src/spec/targets/loongarch64_unknown_linux_ohos.rs index 12e026294cf..11d05db6b0a 100644 --- a/compiler/rustc_target/src/spec/targets/loongarch64_unknown_linux_ohos.rs +++ b/compiler/rustc_target/src/spec/targets/loongarch64_unknown_linux_ohos.rs @@ -15,7 +15,7 @@ pub(crate) fn target() -> Target { options: TargetOptions { code_model: Some(CodeModel::Medium), cpu: "generic".into(), - features: "+f,+d".into(), + features: "+f,+d,+lsx".into(), llvm_abiname: "lp64d".into(), max_atomic_width: Some(64), supported_sanitizers: SanitizerSet::ADDRESS |
