We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d9cdb8 commit 2971439Copy full SHA for 2971439
1 file changed
crates/project_graph/build.rs
@@ -5,9 +5,15 @@ fn main() {
5
android: { target_os = "android" },
6
wasm: { target_arch = "wasm32" },
7
desktop: { all(not(target_os = "android"), not(target_arch = "wasm32")) },
8
+ linux: { target_os = "linux" },
9
+ windows: { target_os = "windows" },
10
+ macos: { target_os = "macos" },
11
}
12
13
println!("cargo::rustc-check-cfg=cfg(android)");
14
println!("cargo::rustc-check-cfg=cfg(wasm)");
15
println!("cargo::rustc-check-cfg=cfg(desktop)");
16
+ println!("cargo::rustc-check-cfg=cfg(linux)");
17
+ println!("cargo::rustc-check-cfg=cfg(windows)");
18
+ println!("cargo::rustc-check-cfg=cfg(macos)");
19
0 commit comments