blob: d7317a26894432b85b64440ce15c49d2b3db11a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
more_pkg = cargo_ws.package('more')
assert(more_pkg.name() == 'more')
assert(more_pkg.features() == ['default'])
assert(more_pkg.all_features() == ['default'])
l = static_library('more', 'src/lib.rs',
rust_args: more_pkg.rust_args(),
rust_dependency_map: more_pkg.rust_dependency_map(),
)
more_dep = declare_dependency(link_with: l)
|