Skip to content

Commit

Permalink
Add Zba, Zbb, and Zbs as target features for riscv64-linux-android
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswailes committed Sep 22, 2023
1 parent 959b2c7 commit 09c5f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_target/src/spec/riscv64_linux_android.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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".into(),
features: "+m,+a,+f,+d,+c,+Zba,+Zbb,+Zbs".into(),
llvm_abiname: "lp64d".into(),
supported_sanitizers: SanitizerSet::ADDRESS,
max_atomic_width: Some(64),
Expand Down

0 comments on commit 09c5f98

Please sign in to comment.