From 63fe640f5d2eb402247906e22b8bf14bf8e90b61 Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Sun, 19 May 2024 23:08:59 +0000 Subject: [PATCH] Update check-cfg lists for core --- library/core/Cargo.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/library/core/Cargo.toml b/library/core/Cargo.toml index 11d33971f256..0c86f430f325 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"))', +]