Skip to content

Commit 1748907

Browse files
committed
Add check-cfg for cygwin target
1 parent 1cb3fab commit 1748907

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@ fn main() {
3030
// Below are custom cfg values set during some CI steps.
3131
println!("cargo:rustc-check-cfg=cfg(fbsd14)");
3232
println!("cargo:rustc-check-cfg=cfg(qemu)");
33+
// Cygwin target, added in 1.86
34+
println!("cargo:rustc-check-cfg=cfg(target_os, values(\"cygwin\"))");
3335
}

0 commit comments

Comments
 (0)