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 <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26636>
This commit is contained in:
@@ -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,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user