about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2024-05-19 23:08:59 +0000
committerLzu Tao <taolzu@gmail.com>2024-05-21 18:17:55 +0000
commit63fe640f5d2eb402247906e22b8bf14bf8e90b61 (patch)
treeb020519d690c292aa65859f274752e0a023f7cba
parent506512391b1a75ae450d36c9420978402a91abcc (diff)
downloadrust-63fe640f5d2eb402247906e22b8bf14bf8e90b61.tar.gz
rust-63fe640f5d2eb402247906e22b8bf14bf8e90b61.zip
Update check-cfg lists for core
-rw-r--r--library/core/Cargo.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/library/core/Cargo.toml b/library/core/Cargo.toml
index 11d33971f25..0c86f430f32 100644
--- a/library/core/Cargo.toml
+++ b/library/core/Cargo.toml
@@ -36,3 +36,12 @@ optimize_for_size = []
 # Make `RefCell` store additional debugging information, which is printed out when
 # a borrow error occurs
 debug_refcell = []
+
+[lints.rust.unexpected_cfgs]
+level = "warn"
+check-cfg = [
+    'cfg(no_fp_fmt_parse)',
+    'cfg(bootstrap)',
+    'cfg(stdarch_intel_sde)',
+    'cfg(feature, values("all_lane_counts"))',
+]