]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/link-cfg/dep.rs
Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup
[rust.git] / src / test / run-make-fulldeps / link-cfg / dep.rs
1 #![feature(link_cfg)]
2 #![crate_type = "rlib"]
3
4 #[link(name = "return1", cfg(foo))]
5 #[link(name = "return2", cfg(bar))]
6 extern "C" {
7     pub fn my_function() -> i32;
8 }