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.
2 parents 4c735ce + 0245f02 commit 6e31d15Copy full SHA for 6e31d15
bundled.rs
@@ -19,8 +19,8 @@ pub fn download_scip() {
19
return;
20
}
21
22
- let os = env::consts::OS;
23
- let arch = std::env::consts::ARCH;
+ let os = std::env::var("CARGO_CFG_TARGET_OS").unwrap();
+ let arch = std::env::var("CARGO_CFG_TARGET_ARCH").unwrap();
24
println!("cargo:warning=Detected OS: {}", os);
25
println!("cargo:warning=Detected arch: {}", arch);
26
0 commit comments