Add the feature gate and target-features
This commit is contained in:
parent
5e311f933d
commit
ec05c4ea3f
8 changed files with 30 additions and 2 deletions
|
@ -80,6 +80,7 @@ pub fn from_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(sym::x86_amx_intrinsics) => rust_features.x86_amx_intrinsics,
|
||||
Some(name) => bug!("unknown target feature gate {}", name),
|
||||
None => true,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue