
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>
22 lines
368 B
Meson
22 lines
368 B
Meson
project(
|
|
'pest',
|
|
'rust',
|
|
version : '2.7.11',
|
|
license :'MIT OR Apache-2.0',
|
|
)
|
|
|
|
ucd = subproject('ucd-trie').get_variable('lib')
|
|
|
|
lib = static_library(
|
|
'pest',
|
|
'src/lib.rs',
|
|
override_options : ['rust_std=2021', 'build.rust_std=2021'],
|
|
link_with : [ucd],
|
|
rust_abi : 'rust',
|
|
native : true,
|
|
)
|
|
|
|
dep_pest = declare_dependency(
|
|
link_with : [lib, ucd],
|
|
)
|