meson,ci: Add the paste crate

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27397>
This commit is contained in:
Daniel Almeida
2024-04-08 12:58:25 -05:00
committed by Marge Bot
parent 923a0a727b
commit dde95fc039
3 changed files with 25 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
project(
'paste',
'rust',
version : '1.0.14',
license : '(MIT or Apache-2.0)',
)
add_languages('rust', required: true)
rust = import('rust')
lib = rust.proc_macro(
'paste',
files('src/lib.rs')
)
dep_paste = declare_dependency(
link_with : [lib],
)