Skip to content

Commit ef799aa

Browse files
committed
Temporarily make the test cfg a well known bootstrap cfg
1 parent f1964f4 commit ef799aa

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
@@ -77,6 +77,8 @@ const LLD_FILE_NAMES: &[&str] = &["ld.lld", "ld64.lld", "lld-link", "wasm-ld"];
7777
#[allow(clippy::type_complexity)] // It's fine for hard-coded list and type is explained above.
7878
const EXTRA_CHECK_CFGS: &[(Option<Mode>, &str, Option<&[&'static str]>)] = &[
7979
(None, "bootstrap", None),
80+
// #[cfg(bootstrap)] to be removed when Cargo is updated
81+
(None, "test", None),
8082
(Some(Mode::Rustc), "llvm_enzyme", None),
8183
(Some(Mode::Codegen), "llvm_enzyme", None),
8284
(Some(Mode::ToolRustc), "llvm_enzyme", None),

0 commit comments

Comments
 (0)