aboutsummaryrefslogtreecommitdiff
path: root/subprojects/packagefiles/arbitrary-int-1-rs/meson.build
blob: 34a189cbaec77ba6631c6a8cb40d7eb3f32099ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
project('arbitrary-int-1-rs', 'rust',
  version: '1.2.7',
  license: 'MIT',
  default_options: [])

_arbitrary_int_rs = static_library(
  'arbitrary_int',
  files('src/lib.rs'),
  gnu_symbol_visibility: 'hidden',
  override_options: ['rust_std=2021', 'build.rust_std=2021'],
  rust_abi: 'rust',
  dependencies: [],
)

arbitrary_int_dep = declare_dependency(
  link_with: _arbitrary_int_rs,
)

meson.override_dependency('arbitrary-int-1-rs', arbitrary_int_dep)