[fontations] Don't derive Copy et al since our types are not

This commit is contained in:
Behdad Esfahbod 2025-03-04 16:32:03 -07:00 committed by Khaled Hosny
parent 74bd99e40e
commit 156b77327e
2 changed files with 4 additions and 2 deletions

View file

@ -78,7 +78,6 @@ extern "C" fn _hb_fontations_get_glyph_h_advances(
}
}
fn _hb_fontations_font_funcs_create() -> *mut hb_font_funcs_t
{
static static_ffuncs: AtomicPtr<hb_font_funcs_t> = AtomicPtr::new(null_mut());

View file

@ -4,7 +4,10 @@ hb_rs = rust.bindgen(
input : '../hb.h',
output : 'hb.rs',
include_directories: incsrc,
args : ['--allowlist-function=hb_.*', '--allowlist-type=hb_.*'],
args : ['--allowlist-function=hb_.*',
'--allowlist-type=hb_.*',
'--no-copy=hb_.*',
],
#args : ['--no-rustfmt-bindings'],
)