Skip to content

Commit 64f9441

Browse files
committed
Fix CI: unexpected cfg condition name: nightly
See https://blog.rust-lang.org/2024/05/06/check-cfg.html
1 parent c507ff8 commit 64f9441

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

futures/tests/no-std/build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use std::{env, process::Command};
22

33
fn main() {
4+
println!("cargo::rustc-check-cfg=cfg(nightly)");
45
if is_nightly() {
56
println!("cargo:rustc-cfg=nightly");
67
}

0 commit comments

Comments
 (0)