From c535b94c73b35a5b004512f0ee94c47b5f6b52d3 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Thu, 4 Feb 2021 15:38:02 -0800 Subject: [PATCH] theres the bug --- crates/wasi-common/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wasi-common/build.rs b/crates/wasi-common/build.rs index 2092df38ee..236c48d19d 100644 --- a/crates/wasi-common/build.rs +++ b/crates/wasi-common/build.rs @@ -2,7 +2,7 @@ // use the same witx files if they want. fn main() { let cwd = std::env::current_dir().unwrap(); - let wasi = cwd.join("..").join("wasi-common").join("WASI"); + let wasi = cwd.join("WASI"); // this will be available to dependent crates via the DEP_WASI_COMMON_19_WASI env var: println!("cargo:wasi={}", wasi.display()); // and available to our own crate as WASI_ROOT: