mesa/subprojects/packagefiles/rustc-hash/meson.build
Echo J 586ad02b9c
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
subprojects: Don't use native option for rustc-hash dependency
This should fix the 32-bit NVK build

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35037>
2025-05-18 13:56:34 +00:00

22 lines
361 B
Meson

project(
'rustc_hash',
'rust',
version : '2.1.1',
license :'MIT OR Apache-2.0',
)
rust_args = [
'--cfg', 'feature="std"'
]
lib = static_library(
'rustc_hash',
'src/lib.rs',
rust_args : rust_args,
override_options : ['rust_std=2021', 'build.rust_std=2021'],
rust_abi : 'rust',
)
dep_rustc_hash = declare_dependency(
link_with : [lib],
)