1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-26 14:54:16 +03:00
wezterm/deps/harfbuzz/regenerate.sh

16 lines
526 B
Bash
Raw Normal View History

#!/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)]" \
2019-07-06 18:13:22 +03:00
--raw-line "#![allow(clippy::unreadable_literal)]" \
2021-03-25 20:05:34 +03:00
--raw-line "#![allow(clippy::upper_case_acronyms)]" \
--default-enum-style rust \
--generate=functions,types,vars \
--whitelist-function="hb_.*" \
--whitelist-type="hb_.*" \
-- -Iharfbuzz/src -I../freetype/freetype2/include