Files
third_party_mesa3d/subprojects/packagefiles/pest_meta/meson.build
Christian Gmeiner e28ff81869 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>
2024-07-03 00:07:54 +00:00

23 lines
460 B
Meson

project(
'pest_meta',
'rust',
version : '2.7.11',
license :'MIT OR Apache-2.0',
)
once_cell = subproject('once_cell').get_variable('lib')
pest = subproject('pest').get_variable('lib')
lib = static_library(
'pest_meta',
'src/lib.rs',
override_options : ['rust_std=2021', 'build.rust_std=2021'],
link_with : [once_cell, pest],
rust_abi : 'rust',
native : true,
)
deb_pest_meta = declare_dependency(
link_with : [lib, once_cell, pest],
)