meson: Suffix compiler/rust bindings with _compiler_rs_extern

This prevents symbol collisions with other crates in Mesa.

Fixes: b60694b91e ("compiler/rust: Add a float16 wrapper")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41896>
This commit is contained in:
Faith Ekstrand 2026-05-31 22:46:50 -04:00 committed by Marge Bot
parent 993d4f5233
commit 0d8ca7cc6c

View file

@ -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