Skip to content

Commit

Permalink
Update build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mytherin authored Jun 18, 2024
1 parent 9aa955e commit c44bc24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/libduckdb-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ mod bindings {
bindgen::builder()
.trust_clang_mangling(false)
.header(header.clone())
.clang_arg("/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR=1")
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
.generate()
.unwrap_or_else(|_| panic!("could not run bindgen on header {header}"))
Expand Down

0 comments on commit c44bc24

Please sign in to comment.