1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-18 19:01:36 +03:00
wezterm/deps/harfbuzz/regenerate.sh
Wez Furlong 660e52d309 bindgen: skip layout tests
They're specific to the host that ran bindgen, which causes the
windows build to fail if bindgen ran on linux for example.
2019-03-24 11:08:14 -07:00

14 lines
415 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)]" \
--default-enum-style rust \
--generate=functions,types,vars \
--whitelist-function="hb_.*" \
--whitelist-type="hb_.*" \
-- -Iharfbuzz/src -I../freetype/freetype2/include