Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Emann committed Sep 26, 2023
1 parent 3d04233 commit 02946de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions croaring-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ fn main() {
.allowlist_type("roaring.*")
.allowlist_var("roaring.*")
.allowlist_var("ROARING.*")
// https://github.com/rust-lang/rust-bindgen/issues/2500
.clang_args(["-D__AVX512VLFP16INTRIN_H", "-D__AVX512FP16INTRIN_H"])
.generate()
.unwrap_or_else(|_| panic!("could not run bindgen on header CRoaring/roaring.h"))
.write_to_file(out_path.join("croaring-sys.rs"))
Expand Down

0 comments on commit 02946de

Please sign in to comment.