Debian Codegraph @

subprojects/packagefiles/once_cell-1-rs/meson.build

raw
1 project(
2 'once_cell',
3 'rust',
4 version : '1.8.0',
5 license : 'MIT OR Apache-2.0',
6 meson_version : '>= 1.7.0',
7 )
8
9 rust_args = [
10 '--cfg', 'feature="std"'
11 ]
12
13 lib = static_library(
14 'once_cell',
15 'src/lib.rs',
16 rust_args : rust_args,
17 override_options : ['rust_std=2018', 'build.rust_std=2018', 'warning_level=0'],
18 rust_abi : 'rust',
19 native : true,
20 )
21
22 dep_once_cell = declare_dependency(
23 link_with : [lib],
24 )