Skip to content

Commit

Permalink
Fix bindgen not finding anything
Browse files Browse the repository at this point in the history
See [bindgen issue][1], tl;dr, they deactivated unicode case insensitivity for
regexes, which makes us do this slightly strange version

[1]: rust-lang/rust-bindgen#2760
  • Loading branch information
Dr-Emann committed Feb 13, 2024
1 parent def6a68 commit dd8de34
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Expand Up @@ -28,9 +28,8 @@ download_croaring:
bindgen:
cd '$(croaring_source)' && \
bindgen --generate-inline-functions \
--allowlist-function 'roaring.*|bitset.*' \
--allowlist-type 'roaring.*|bitset.*' \
--allowlist-var '(?i:roaring|bitset).*' \
--allowlist-item '(?i-u:roaring|bitset).*' \
--allowlist-var '(?i-u:roaring|bitset).*' \
--no-layout-tests \
-o bindgen_bundled_version.rs \
roaring.h
Expand Down

0 comments on commit dd8de34

Please sign in to comment.