about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/target_features.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-13 08:33:04 +0000
committerbors <bors@rust-lang.org>2024-02-13 08:33:04 +0000
commit41555ab4a39e18f59387a576bf1c19ef39093a60 (patch)
tree5ed166021ffb0cc6a84667f2801a90486858a747 /compiler/rustc_codegen_ssa/src/target_features.rs
parentd2e446d39e2390093042a7fd8676cc85f2b573d7 (diff)
parent43e9411db839747f650e1125ed06266566c20b65 (diff)
downloadrust-41555ab4a39e18f59387a576bf1c19ef39093a60.tar.gz
rust-41555ab4a39e18f59387a576bf1c19ef39093a60.zip
Auto merge of #3298 - rust-lang:rustup-2024-02-13, r=oli-obk
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/target_features.rs')
-rw-r--r--compiler/rustc_codegen_ssa/src/target_features.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/target_features.rs b/compiler/rustc_codegen_ssa/src/target_features.rs
index 3694e41a0e0..ee1d548b231 100644
--- a/compiler/rustc_codegen_ssa/src/target_features.rs
+++ b/compiler/rustc_codegen_ssa/src/target_features.rs
@@ -77,6 +77,8 @@ pub fn from_target_feature(
                 Some(sym::aarch64_ver_target_feature) => rust_features.aarch64_ver_target_feature,
                 Some(sym::csky_target_feature) => rust_features.csky_target_feature,
                 Some(sym::loongarch_target_feature) => rust_features.loongarch_target_feature,
+                Some(sym::lahfsahf_target_feature) => rust_features.lahfsahf_target_feature,
+                Some(sym::prfchw_target_feature) => rust_features.prfchw_target_feature,
                 Some(name) => bug!("unknown target feature gate {}", name),
                 None => true,
             };