about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml
index db4aea6a1ea..e56f03808b3 100644
--- a/library/std/Cargo.toml
+++ b/library/std/Cargo.toml
@@ -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"))',