rust/tests/run-make/rlib-format-packed-bundled-libs-3/rust_dep.rs

17 lines
442 B
Rust
Raw Normal View History

#![feature(packed_bundled_libs)]
#[link(name = "native_dep_1", kind = "static", modifiers = "+whole-archive,+bundle")]
extern "C" {}
#[link(name = "native_dep_2", kind = "static", modifiers = "+whole-archive,-bundle")]
extern "C" {}
#[link(name = "native_dep_3", kind = "static", modifiers = "+bundle")]
extern "C" {}
#[link(name = "native_dep_4", kind = "static", modifiers = "-bundle")]
extern "C" {}
#[no_mangle]
pub fn rust_dep() {}