diff --git a/tests/no-core/build.rs b/tests/no-core/build.rs index e137ecf..f9f5961 100644 --- a/tests/no-core/build.rs +++ b/tests/no-core/build.rs @@ -4,6 +4,7 @@ use std::{env, process::Command}; fn main() { println!("cargo:rerun-if-changed=build.rs"); + println!("cargo:rustc-check-cfg=cfg(nightly)"); if is_nightly() { println!("cargo:rustc-cfg=nightly");