1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-10 15:04:32 +03:00
wezterm/deps/harfbuzz/regenerate.sh
Wez Furlong df20277d85 clippy
2019-07-06 08:18:59 -07:00

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