1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-18 10:52:16 +03:00
wezterm/deps/harfbuzz/regenerate.sh
Wez Furlong c6f4ff3626
deps: update regenerate.sh scripts for newer bindgen cli
No functional change, just updating for changes in more
recent versions of bindgen.
2023-05-29 21:22:59 -07:00

16 lines
526 B
Bash
Executable File

#!/bin/bash
bindgen bindings.h -o src/lib.rs \
--no-layout-tests \
--no-doc-comments \
--raw-line "#![allow(non_snake_case)]" \
--raw-line "#![allow(non_camel_case_types)]" \
--raw-line "#![allow(non_upper_case_globals)]" \
--raw-line "#![allow(clippy::unreadable_literal)]" \
--raw-line "#![allow(clippy::upper_case_acronyms)]" \
--default-enum-style rust \
--generate=functions,types,vars \
--allowlist-function="hb_.*" \
--allowlist-type="hb_.*" \
-- -Iharfbuzz/src -I../freetype/freetype2/include