rust: use glib-sys
Don't generate FFI for glib, rely on glib-sys crate. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
4c18783a88
commit
9c40c1ff97
28 changed files with 224 additions and 7 deletions
|
|
@ -4239,6 +4239,7 @@ if have_rust
|
|||
'--no-prepend-enum-name',
|
||||
'--allowlist-file', meson.project_source_root() + '/include/.*',
|
||||
'--allowlist-file', meson.project_build_root() + '/.*',
|
||||
'--blocklist-file', glib_pc.get_variable('includedir') + '/glib-2.0/.*',
|
||||
]
|
||||
if not rustfmt.found()
|
||||
if bindgen.version().version_compare('<0.65.0')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue