File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 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"]
4343
4444[lints .rust .unexpected_cfgs ]
4545level = " 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.
4649check-cfg = [
47- ' cfg(no_global_oom_handling)' ,
4850 ' cfg(bootstrap)' ,
51+ ' cfg(no_global_oom_handling)' ,
4952 ' cfg(no_rc)' ,
5053 ' cfg(no_sync)' ,
5154]
Original file line number Diff line number Diff line change @@ -39,9 +39,13 @@ debug_refcell = []
3939
4040[lints .rust .unexpected_cfgs ]
4141level = " 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.
4245check-cfg = [
4346 ' cfg(no_fp_fmt_parse)' ,
4447 ' cfg(bootstrap)' ,
4548 ' 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()))' ,
4751]
You can’t perform that action at this time.
0 commit comments