From b15cd5dea09790ebccbf00adb35ba36dec4ea5e8 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Wed, 20 Aug 2025 11:20:17 -0400 Subject: [PATCH] meson: Disable unsafe_op_in_unsafe_fn in bindgen for now Part-of: --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index a3d3667aed1..94a3130f924 100644 --- a/meson.build +++ b/meson.build @@ -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)]']