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:

committed by
Marge Bot

parent
923a0a727b
commit
dde95fc039
18
subprojects/packagefiles/paste/meson.build
Normal file
18
subprojects/packagefiles/paste/meson.build
Normal 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],
|
||||
)
|
Reference in New Issue
Block a user