Add the V (vector) extension to the riscv64-linux-android target spec

This feature has been enabled and tested internally in the Android
project.
This commit is contained in:
Chris Wailes 2023-10-10 16:26:26 -07:00
parent d627cf07ce
commit 6efc71c920

View File

@ -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),