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 7f6be50 commit 69c4636Copy full SHA for 69c4636
src/hyperlight_guest/build.rs
@@ -104,9 +104,9 @@ fn cargo_main() {
104
}
105
106
if cfg!(windows) {
107
- env::set_var("AR_x86_64_unknown_none", "llvm-ar");
+ unsafe {env::set_var("AR_x86_64_unknown_none", "llvm-ar")};
108
} else {
109
- env::set_var("AR_x86_64_pc_windows_msvc", "llvm-lib");
+ unsafe {env::set_var("AR_x86_64_pc_windows_msvc", "llvm-lib")};
110
111
112
cfg.compile("hyperlight_guest");
0 commit comments