File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,12 @@ optimize_for_size = ["core/optimize_for_size"]
43
43
44
44
[lints .rust .unexpected_cfgs ]
45
45
level = " warn"
46
+ # x.py uses beta cargo, so `check-cfg` entries do not yet take effect
47
+ # for rust-lang/rust. But for users of `-Zbuild-std` it does.
48
+ # The unused warning is waiting for rust-lang/cargo#13925 to reach beta.
46
49
check-cfg = [
47
- ' cfg(no_global_oom_handling)' ,
48
50
' cfg(bootstrap)' ,
51
+ ' cfg(no_global_oom_handling)' ,
49
52
' cfg(no_rc)' ,
50
53
' cfg(no_sync)' ,
51
54
]
Original file line number Diff line number Diff line change @@ -39,9 +39,13 @@ debug_refcell = []
39
39
40
40
[lints .rust .unexpected_cfgs ]
41
41
level = " warn"
42
+ # x.py uses beta cargo, so `check-cfg` entries do not yet take effect
43
+ # for rust-lang/rust. But for users of `-Zbuild-std` it does.
44
+ # The unused warning is waiting for rust-lang/cargo#13925 to reach beta.
42
45
check-cfg = [
43
46
' cfg(no_fp_fmt_parse)' ,
44
47
' cfg(bootstrap)' ,
45
48
' cfg(stdarch_intel_sde)' ,
46
- ' cfg(feature, values("all_lane_counts"))' ,
49
+ # This matches `EXTRA_CHECK_CFGS` in `src/bootstrap/src/lib.rs`.
50
+ ' cfg(feature, values(any()))' ,
47
51
]
You can’t perform that action at this time.
0 commit comments