1//! This build script: 2//! - has the configuration necessary for the Wiggle and WITX macros. 3fn main() { 4 let cwd = std::env::current_dir().unwrap(); 5 let wasi_root = cwd.join("witx"); 6 7 // Also automatically rebuild if the WITX files change 8 for entry in walkdir::WalkDir::new(wasi_root) { 9 println!("cargo:rerun-if-changed={}", entry.unwrap().path().display()); 10 } 11} 12 13