[fontations] bindgen hb.rs

This commit is contained in:
Behdad Esfahbod 2025-03-03 23:02:45 -07:00 committed by Khaled Hosny
parent f9b4706151
commit 3ba4266daa

View file

@ -736,6 +736,16 @@ if get_option('fontations').enabled()
subdirs: [meson.project_name()],
version: meson.project_version(),
)
rust = import('unstable-rust')
generated = rust.bindgen(
input : 'hb.h',
output : 'hb.rs',
include_directories: incsrc,
args : ['--allowlist-function=hb_.*', '--allowlist-type=hb_.*'],
#args : ['--no-rustfmt-bindings'],
)
endif
if get_option('tests').enabled()