xref: /aosp_15_r20/external/mesa3d/subprojects/packagefiles/hashbrown/meson.build (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1project(
2  'hashbrown',
3  'rust',
4  version : '0.14.1',
5  license :'MIT OR Apache-2.0',
6)
7
8rust_args = [
9  '--cfg', 'feature="raw"'
10]
11
12lib = static_library(
13  'hashbrown',
14  'src/lib.rs',
15  rust_args : rust_args,
16  override_options : ['rust_std=2021', 'build.rust_std=2021'],
17  rust_abi : 'rust',
18  native : true,
19)
20
21dep_hashbrown = declare_dependency(
22  link_with : [lib],
23)
24