about summary refs log tree commit diff
diff options
context:
space:
mode:
-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"))',
+]