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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
221 B
Rust
Raw Normal View History

#![feature(link_cfg)]
#[link(name = "native_dep_1", kind = "static", cfg(should_add))]
extern "C" {}
#[link(name = "native_dep_2", kind = "static", cfg(should_not_add))]
extern "C" {}
#[no_mangle]
pub fn rust_dep() {}