Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1f8c8f4

Browse files
committedJun 27, 2024
Cleanup bootstrap check-cfg
1 parent a8b311e commit 1f8c8f4

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed
 

‎alloc/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ optimize_for_size = ["core/optimize_for_size"]
4747

4848
[lints.rust.unexpected_cfgs]
4949
level = "warn"
50-
# x.py uses beta cargo, so `check-cfg` entries do not yet take effect
51-
# for rust-lang/rust. But for users of `-Zbuild-std` it does.
5250
check-cfg = [
5351
'cfg(bootstrap)',
5452
'cfg(no_global_oom_handling)',

‎core/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ debug_refcell = []
3939

4040
[lints.rust.unexpected_cfgs]
4141
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.
4442
check-cfg = [
4543
'cfg(bootstrap)',
4644
'cfg(no_fp_fmt_parse)',

‎std/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ test = true
100100

101101
[lints.rust.unexpected_cfgs]
102102
level = "warn"
103-
# x.py uses beta cargo, so `check-cfg` entries do not yet take effect
104-
# for rust-lang/rust. But for users of `-Zbuild-std` it does.
105103
check-cfg = [
106104
'cfg(bootstrap)',
107105
'cfg(target_arch, values("xtensa"))',

0 commit comments

Comments
 (0)
Failed to load comments.