Skip to content

Commit 30e0ab8

Browse files
committed
maybe replace check-cfg values in bootstrap with ones in Cargo.toml
1 parent df3a320 commit 30e0ab8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bootstrap/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ const EXTRA_CHECK_CFGS: &[(Option<Mode>, &str, Option<&[&'static str]>)] = &[
8585
(Some(Mode::ToolStd), "rust_analyzer", None),
8686
(Some(Mode::Codegen), "parallel_compiler", None),
8787
// NOTE: consider updating `check-cfg` entries in `std/Cargo.toml` too.
88+
// cfg(bootstrap) remove these once the bootstrap compiler supports
89+
// `lints.rust.unexpected_cfgs.check-cfg`
8890
(Some(Mode::Std), "stdarch_intel_sde", None),
8991
(Some(Mode::Std), "no_fp_fmt_parse", None),
9092
(Some(Mode::Std), "no_global_oom_handling", None),

0 commit comments

Comments
 (0)