From 0d8ca7cc6cfc10e404b4551622181eaacd8186da Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Sun, 31 May 2026 22:46:50 -0400 Subject: [PATCH] meson: Suffix compiler/rust bindings with _compiler_rs_extern This prevents symbol collisions with other crates in Mesa. Fixes: b60694b91e84 ("compiler/rust: Add a float16 wrapper") Part-of: --- src/compiler/rust/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/rust/meson.build b/src/compiler/rust/meson.build index 8e5b11e83c7..fde92fc9706 100644 --- a/src/compiler/rust/meson.build +++ b/src/compiler/rust/meson.build @@ -74,6 +74,7 @@ _compiler_bindgen_args = [ '--allowlist-type', 'u_memstream', '--no-prepend-enum-name', '--with-derive-default', + '--wrap-static-fns-suffix', '_compiler_rs_extern' ] foreach type : _compiler_binding_types