Skip to content

Commit

Permalink
bindgen: use --allowlist-type instead of --allowlist-item
Browse files Browse the repository at this point in the history
The bindgen found in Ubuntu 24.04 and older is not new enough for
--allowlist-item.
  • Loading branch information
jasonish committed Nov 20, 2024
1 parent 887af1a commit eac1b70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ gen/bindings.rs: gen/bindgen.h
rm -f $@
$(BINDGEN) \
-o $@ \
--allowlist-item 'AppProto.*' \
--allowlist-item 'SCAppLayer.*' \
--allowlist-type 'AppProto.*' \
--allowlist-type 'SCAppLayer.*' \
--rustified-enum SCAppLayerEventType \
--rustified-enum AppProtoEnum \
./gen/bindgen.h \
Expand Down

0 comments on commit eac1b70

Please sign in to comment.