Files
third_party_mesa3d/subprojects/packagefiles/once_cell/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

24 lines
375 B
Meson

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],
)