1 // Tell any dependencies, if necessary, where our WASI submodule is so they can 2 // use the same witx files if they want. main()3fn main() { 4 let cwd = std::env::current_dir().unwrap(); 5 let wasi = cwd.join("WASI"); 6 println!("cargo:wasi={}", wasi.display()); 7 println!("cargo:rustc-env=WASI_ROOT={}", wasi.display()); 8 } 9