meson: Add pest rust dependencies
Including its dependency ucd-trie. Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: @LingMan Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28869>
This commit is contained in:

committed by
Marge Bot

parent
87ad3ca0ac
commit
e28ff81869
23
subprojects/packagefiles/once_cell/meson.build
Normal file
23
subprojects/packagefiles/once_cell/meson.build
Normal file
@@ -0,0 +1,23 @@
|
||||
project(
|
||||
'once_cell',
|
||||
'rust',
|
||||
version : '1.8.0',
|
||||
license :'MIT OR Apache-2.0',
|
||||
)
|
||||
|
||||
rust_args = [
|
||||
'--cfg', 'feature="std"'
|
||||
]
|
||||
|
||||
lib = static_library(
|
||||
'once_cell',
|
||||
'src/lib.rs',
|
||||
rust_args : rust_args,
|
||||
override_options : ['rust_std=2018', 'build.rust_std=2018'],
|
||||
rust_abi : 'rust',
|
||||
native : true,
|
||||
)
|
||||
|
||||
dep_once_cell = declare_dependency(
|
||||
link_with : [lib],
|
||||
)
|
Reference in New Issue
Block a user