mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
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:
parent
280dde8c23
commit
8af15359e3
1 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue