summaryrefslogtreecommitdiffhomepage
path: root/src/rust/unit-wasm-sys/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust/unit-wasm-sys/build.rs')
-rw-r--r--src/rust/unit-wasm-sys/build.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rust/unit-wasm-sys/build.rs b/src/rust/unit-wasm-sys/build.rs
index bd8d3a5..3d3ff0e 100644
--- a/src/rust/unit-wasm-sys/build.rs
+++ b/src/rust/unit-wasm-sys/build.rs
@@ -30,15 +30,12 @@ fn main() {
}
fn generate_bindings() {
- let wasi_sysroot =
- "--sysroot=".to_owned() + &env::var("WASI_SYSROOT").unwrap();
let bindings = bindgen::Builder::default()
// The input header file.
.header("libunit-wasm/include/unit/unit-wasm.h")
.allowlist_function("^luw_.*")
.allowlist_var("^luw_.*")
.allowlist_type("^luw_.*")
- .clang_args(vec![wasi_sysroot]) // Needed for strings.h
.generate()
.expect("Unable to generate bindings");