Skip to content

Commit 904d7fa

Browse files
authored
fix bindgen issue with WASM builds (#433)
1 parent 5eeb1f0 commit 904d7fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/libduckdb-sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ mod bindings {
469469
.header(header.clone())
470470
.allowlist_item(r#"(\w*duckdb\w*)"#)
471471
.allowlist_type("idx_t")
472+
.layout_tests(false) // causes problems on WASM builds
472473
.clang_arg("-DDUCKDB_EXTENSION_API_VERSION_UNSTABLE")
473474
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
474475
.generate()

0 commit comments

Comments
 (0)