mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
11 lines
221 B
Rust
11 lines
221 B
Rust
#![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() {}
|