Skip to content

Commit

Permalink
Add missing target_feature to the list of well known cfg names
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed Apr 27, 2022
1 parent 1158ade commit beb4e16
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions compiler/rustc_session/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1038,6 +1038,7 @@ impl CrateCheckConfig {
sym::target_has_atomic_load_store,
sym::target_has_atomic,
sym::target_has_atomic_equal_alignment,
sym::target_feature,
sym::panic,
sym::sanitize,
sym::debug_assertions,
Expand Down Expand Up @@ -1081,6 +1082,10 @@ impl CrateCheckConfig {
.into_iter()
.map(|sanitizer| Symbol::intern(sanitizer.as_str().unwrap()));

// Unknown possible values:
// - `feature`
// - `target_feature`

// No-values
for name in [
sym::doc,
Expand Down

0 comments on commit beb4e16

Please sign in to comment.