Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bytecodealliance
GitHub Repository: bytecodealliance/wasmtime
Path: blob/main/crates/wasi-nn/build.rs
1690 views
1
//! This build script:
2
//! - has the configuration necessary for the Wiggle and WITX macros.
3
fn 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