binding(rust): update script/generate-bindings to use latest rust-bindgen 0.64.0 version

This commit is contained in:
Andrew Hlynskyi 2023-04-04 22:16:27 +03:00
parent c26dde0414
commit c38f78345e
2 changed files with 56 additions and 305 deletions

View file

@ -5,8 +5,8 @@ header_path='lib/include/tree_sitter/api.h'
bindgen \
--no-layout-tests \
--whitelist-type '^TS.*' \
--whitelist-function '^ts_.*' \
--allowlist-type '^TS.*' \
--allowlist-function '^ts_.*' \
--blocklist-type '^__.*' \
--size_t-is-usize \
$header_path > $output_path