Skip to content

Commit

Permalink
Copy core/alloc check-cfg message also in std
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed May 23, 2024
1 parent 2868985 commit 45ad60d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/std/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ test = true

[lints.rust.unexpected_cfgs]
level = "warn"
# x.py uses beta cargo, so `check-cfg` entries do not yet take effect
# for rust-lang/rust. But for users of `-Zbuild-std` it does.
# The unused warning is waiting for rust-lang/cargo#13925 to reach beta.
check-cfg = [
'cfg(bootstrap)',
'cfg(target_arch, values("xtensa"))',
Expand Down

0 comments on commit 45ad60d

Please sign in to comment.