We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2b3f11 commit 74b55b4Copy full SHA for 74b55b4
compiler/rustc_target/src/target_features.rs
@@ -102,6 +102,9 @@ impl Stability {
102
// check whether they're named already elsewhere in rust
103
// e.g. in stdarch and whether the given name matches LLVM's
104
// if it doesn't, to_llvm_feature in llvm_util in rustc_codegen_llvm needs to be adapted.
105
+// Additionally, if the feature is not available in older version of LLVM supported by the current
106
+// rust, the same function must be updated to filter out these features to avoid triggering
107
+// warnings.
108
//
109
// Also note that all target features listed here must be purely additive: for target_feature 1.1 to
110
// be sound, we can never allow features like `+soft-float` (on x86) to be controlled on a
0 commit comments