mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
meson: Disable unsafe_op_in_unsafe_fn in bindgen for now
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36849>
This commit is contained in:
parent
5db8727ed1
commit
b15cd5dea0
1 changed files with 2 additions and 0 deletions
|
|
@ -798,6 +798,8 @@ if with_gallium_rusticl or with_nouveau_vk or with_tools.contains('etnaviv') or
|
|||
'--raw-line', '#![allow(non_camel_case_types)]',
|
||||
'--raw-line', '#![allow(non_snake_case)]',
|
||||
'--raw-line', '#![allow(non_upper_case_globals)]',
|
||||
# This is fixed in 0.72 but we don't have that in CI yet
|
||||
'--raw-line', '#![allow(unsafe_op_in_unsafe_fn)]',
|
||||
]
|
||||
if rustc.version().version_compare('>= 1.88')
|
||||
bindgen_output_args += ['--raw-line', '#![allow(unnecessary_transmutes)]']
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue