From befb66d9cefe6c66664b1e590cdc92f655ba30c9 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 6 May 2024 16:52:29 +0200 Subject: [PATCH] style(test): Remove check-cfg warning This is currently breaking CI because we run effectively `RUSTDOCFLAGS=-Dwarnings cargo +nightly doc` --- crates/cargo-test-support/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/cargo-test-support/build.rs b/crates/cargo-test-support/build.rs index 8854f461aa6..930666f140e 100644 --- a/crates/cargo-test-support/build.rs +++ b/crates/cargo-test-support/build.rs @@ -1,6 +1,7 @@ #![allow(clippy::disallowed_methods)] fn main() { + println!("cargo:rustc-check-cfg=cfg(emulate_second_only_system)"); println!( "cargo:rustc-env=NATIVE_ARCH={}", std::env::var("TARGET").unwrap()