You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build.rs
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,13 @@ use rustc_version::{version_matches};
13
13
fnmain(){
14
14
println!("cargo:rerun-if-changed=build.rs");
15
15
16
+
/*
17
+
Environment might suffer from <https://github.com/DanielKeep/cargo-script/issues/50>.
18
+
*/
19
+
ifcfg!(windows){
20
+
println!("cargo:rustc-cfg=issue_50");
21
+
}
22
+
16
23
/*
17
24
With 1.15, linking on Windows was changed in regards to when it emits `dllimport`. This means that the *old* code for linking to `FOLDERID_LocalAppData` no longer works. Unfortunately, it *also* means that the *new* code doesn't work prior to 1.15.
0 commit comments