Merge "Enable target features for riscv64 Rust builds" into main

This commit is contained in:
Treehugger Robot 2023-09-15 18:42:40 +00:00 committed by Gerrit Code Review
commit 2e3f8e6b35

View file

@ -24,8 +24,12 @@ var (
Riscv64RustFlags = []string{
"-C force-frame-pointers=y",
}
Riscv64ArchFeatureRustFlags = map[string][]string{"": {}}
Riscv64LinkFlags = []string{}
Riscv64ArchFeatureRustFlags = map[string][]string{
"riscv64": {
"-C target-feature=+V,+Zba,+Zbb,+Zbs",
},
}
Riscv64LinkFlags = []string{}
Riscv64ArchVariantRustFlags = map[string][]string{"": {}}
)