Skip to content

Commit ba934ca

Browse files
committed
Copy core/alloc check-cfg message also in std
1 parent 339f749 commit ba934ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

std/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ 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.
105+
# The unused warning is waiting for rust-lang/cargo#13925 to reach beta.
103106
check-cfg = [
104107
'cfg(bootstrap)',
105108
'cfg(target_arch, values("xtensa"))',

0 commit comments

Comments
 (0)