1
Fork 0

Remove feature from the list of well known check-cfg name

This commit is contained in:
Urgau 2023-11-19 20:43:50 +01:00
parent 0ff8610964
commit 9f15acec47
11 changed files with 52 additions and 18 deletions

View file

@ -1443,9 +1443,8 @@ impl CheckCfg {
let relocation_model_values = RelocModel::all();
// Unknown possible values:
// - `feature`
// - `target_feature`
for name in [sym::feature, sym::target_feature] {
for name in [sym::target_feature] {
self.expecteds.entry(name).or_insert(ExpectedValues::Any);
}