mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 11:40:10 +01:00
meson: Add --wrap-unsafe-ops to bindgen
Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36849>
This commit is contained in:
parent
3b102368ac
commit
3d4b29a0f6
1 changed files with 2 additions and 0 deletions
|
|
@ -790,6 +790,8 @@ if with_gallium_rusticl or with_nouveau_vk or with_tools.contains('etnaviv') or
|
||||||
endif
|
endif
|
||||||
|
|
||||||
bindgen_output_args = [
|
bindgen_output_args = [
|
||||||
|
# This is needed to generate 2024-safe code
|
||||||
|
'--wrap-unsafe-ops',
|
||||||
# can't do anything about it anyway
|
# can't do anything about it anyway
|
||||||
'--raw-line', '#![allow(clippy::all)]',
|
'--raw-line', '#![allow(clippy::all)]',
|
||||||
'--raw-line', '#![allow(improper_ctypes)]',
|
'--raw-line', '#![allow(improper_ctypes)]',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue