liba = static_library('liba', 'lib.rs', rust_crate_type : 'rlib', ) liba_dep = declare_dependency(link_with : liba)