diff options
| author | Krasimir Georgiev <krasimir@google.com> | 2023-12-04 15:52:26 +0000 |
|---|---|---|
| committer | Krasimir Georgiev <krasimir@google.com> | 2023-12-08 13:06:07 +0000 |
| commit | b378059e6b2573c5356423fa31d184a89a3b6029 (patch) | |
| tree | b5a558051414b76d64202d867f74e004337111cd /compiler/rustc_codegen_ssa/src | |
| parent | 0a83e43f282353398e4b22466cf1f4e3cc8c1682 (diff) | |
| download | rust-b378059e6b2573c5356423fa31d184a89a3b6029.tar.gz rust-b378059e6b2573c5356423fa31d184a89a3b6029.zip | |
update target feature following LLVM API change
LLVM commit https://github.com/llvm/llvm-project/commit/e81796671890b59c110f8e41adc7ca26f8484d20 renamed the `unaligned-scalar-mem` target feature to `fast-unaligned-access`.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/target_features.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/target_features.rs b/compiler/rustc_codegen_ssa/src/target_features.rs index d802816bb75..c3b8859c779 100644 --- a/compiler/rustc_codegen_ssa/src/target_features.rs +++ b/compiler/rustc_codegen_ssa/src/target_features.rs @@ -291,9 +291,9 @@ const RISCV_ALLOWED_FEATURES: &[(&str, Stability)] = &[ ("d", Unstable(sym::riscv_target_feature)), ("e", Unstable(sym::riscv_target_feature)), ("f", Unstable(sym::riscv_target_feature)), + ("fast-unaligned-access", Unstable(sym::riscv_target_feature)), ("m", Stable), ("relax", Unstable(sym::riscv_target_feature)), - ("unaligned-scalar-mem", Unstable(sym::riscv_target_feature)), ("v", Unstable(sym::riscv_target_feature)), ("zba", Stable), ("zbb", Stable), |
