diff options
| author | Chris Wailes <chriswailes@google.com> | 2023-10-10 16:26:26 -0700 |
|---|---|---|
| committer | Chris Wailes <chriswailes@google.com> | 2023-10-10 16:26:26 -0700 |
| commit | 6efc71c9205f4d02d2ffb5a436408a90d3a52c53 (patch) | |
| tree | 76955e091ea680c463d527cefbac94805bb1e9ca /compiler | |
| parent | d627cf07ce46d230a93732a4714d16f00df9466b (diff) | |
| download | rust-6efc71c9205f4d02d2ffb5a436408a90d3a52c53.tar.gz rust-6efc71c9205f4d02d2ffb5a436408a90d3a52c53.zip | |
Add the V (vector) extension to the riscv64-linux-android target spec
This feature has been enabled and tested internally in the Android project.
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_target/src/spec/riscv64_linux_android.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/riscv64_linux_android.rs b/compiler/rustc_target/src/spec/riscv64_linux_android.rs index 91f5e562d8b..5312c761d6f 100644 --- a/compiler/rustc_target/src/spec/riscv64_linux_android.rs +++ b/compiler/rustc_target/src/spec/riscv64_linux_android.rs @@ -9,7 +9,7 @@ pub fn target() -> Target { options: TargetOptions { code_model: Some(CodeModel::Medium), cpu: "generic-rv64".into(), - features: "+m,+a,+f,+d,+c,+Zba,+Zbb,+Zbs".into(), + features: "+m,+a,+f,+d,+c,+Zba,+Zbb,+Zbs,+V".into(), llvm_abiname: "lp64d".into(), supported_sanitizers: SanitizerSet::ADDRESS, max_atomic_width: Some(64), |
