We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1a76f2 commit 83ff69cCopy full SHA for 83ff69c
2 files changed
src/hyperlight_wasm/Cargo.toml
@@ -97,6 +97,9 @@ anyhow = { version = "1.0" }
97
goblin = "0.10.3"
98
tar = "0.4.44"
99
100
+[target.'cfg(windows)'.build-dependencies]
101
+junction = "1"
102
+
103
[features]
104
default = ["function_call_metrics", "kvm", "mshv3"]
105
function_call_metrics = ["hyperlight-host/function_call_metrics"]
src/hyperlight_wasm/build.rs
@@ -84,7 +84,7 @@ fn get_wasm_runtime_path() -> PathBuf {
84
std::os::unix::fs::symlink(crates_dir, &vendor_dir).unwrap();
85
86
#[cfg(not(unix))]
87
- std::os::windows::fs::symlink_dir(crates_dir, &vendor_dir).unwrap();
+ junction::create(crates_dir, &vendor_dir).unwrap();
88
89
let wasm_runtime_dir = crates_dir.join("wasm_runtime");
90
if wasm_runtime_dir.exists() {
0 commit comments