meson: Add indexmap rust dependencies
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
02bc51f477
commit
9e3e12e6a9
18
subprojects/packagefiles/equivalent/meson.build
Normal file
18
subprojects/packagefiles/equivalent/meson.build
Normal file
@@ -0,0 +1,18 @@
|
||||
project(
|
||||
'equivalent',
|
||||
'rust',
|
||||
version : '1.0.1',
|
||||
license :'MIT OR Apache-2.0',
|
||||
)
|
||||
|
||||
lib = static_library(
|
||||
'equivalent',
|
||||
'src/lib.rs',
|
||||
override_options : ['rust_std=2021', 'build.rust_std=2021'],
|
||||
rust_abi : 'rust',
|
||||
native : true,
|
||||
)
|
||||
|
||||
dep_equivalent = declare_dependency(
|
||||
link_with : [lib],
|
||||
)
|
Reference in New Issue
Block a user