theres the bug

This commit is contained in:
Pat Hickey
2021-02-04 15:38:02 -08:00
parent 4681e18ee0
commit c535b94c73

View File

@@ -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: