Skip to content

Commit beb4e16

Browse files
committed
Add missing target_feature to the list of well known cfg names
1 parent 1158ade commit beb4e16

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compiler/rustc_session/src/config.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1038,6 +1038,7 @@ impl CrateCheckConfig {
10381038
sym::target_has_atomic_load_store,
10391039
sym::target_has_atomic,
10401040
sym::target_has_atomic_equal_alignment,
1041+
sym::target_feature,
10411042
sym::panic,
10421043
sym::sanitize,
10431044
sym::debug_assertions,
@@ -1081,6 +1082,10 @@ impl CrateCheckConfig {
10811082
.into_iter()
10821083
.map(|sanitizer| Symbol::intern(sanitizer.as_str().unwrap()));
10831084

1085+
// Unknown possible values:
1086+
// - `feature`
1087+
// - `target_feature`
1088+
10841089
// No-values
10851090
for name in [
10861091
sym::doc,

0 commit comments

Comments
 (0)