Module: Mesa Branch: main Commit: 8af15359e37895957ce3b3fec0955c27a446f4ed URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8af15359e37895957ce3b3fec0955c27a446f4ed
Author: Karol Herbst <[email protected]> Date: Mon Dec 11 16:35:07 2023 +0100 rusticl: use rust.proc_macro for proc macros Should fix a few issues in regards to cross compilation and maybe other things. This requires meson-1.3. Signed-off-by: Karol Herbst <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26636> --- src/gallium/frontends/rusticl/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/frontends/rusticl/meson.build b/src/gallium/frontends/rusticl/meson.build index 4bb13dcbca2..13958e5c175 100644 --- a/src/gallium/frontends/rusticl/meson.build +++ b/src/gallium/frontends/rusticl/meson.build @@ -404,10 +404,9 @@ libmesa_rust = static_library( ] ) -rusticl_proc_macros = shared_library( +rusticl_proc_macros = rust.proc_macro( 'rusticl_proc_macros', [rusticl_proc_macros_files], - rust_crate_type : 'proc-macro', rust_args : [ rusticl_args, ],
