diff options
| author | Faith Ekstrand <faith.ekstrand@collabora.com> | 2025-08-20 12:14:59 -0400 |
|---|---|---|
| committer | Marge Bot <marge-bot@fdo.invalid> | 2025-08-20 17:06:49 +0000 |
| commit | 4dd7ed18b9d13eb26e6e8d7fa7dcd890e2e06777 (patch) | |
| tree | 5d737805be83f3346c2065d86e6ad6c22e1909ff /meson.build | |
| parent | b15cd5dea09790ebccbf00adb35ba36dec4ea5e8 (diff) | |
meson: Disable unsafe_attr_outside_unsafe for now
The #[unsafe(no_mangle)] decoration breaks cbindgen until 0.28 where
they added support. Just disable that for now so that NIL still builds.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36849>
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 94a3130f924..60a743c23d3 100644 --- a/meson.build +++ b/meson.build @@ -814,9 +814,11 @@ if with_gallium_rusticl or with_nouveau_vk or with_tools.contains('etnaviv') or '-Dnever_type_fallback_flowing_into_unsafe', '-Drust_2024_prelude_collisions', '-Dstatic_mut_refs', - '-Dunsafe_attr_outside_unsafe', '-Dunsafe_op_in_unsafe_fn', + # This requires cbindgen >= 0.28 + # '-Dunsafe_attr_outside_unsafe', + # 1.83+ # '-Dif_let_rescope', # '-Drust_2024_guarded_string_incompatible_syntax', |