]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/link-cfg/dep-with-staticlib.rs
Auto merge of #100999 - nnethercote:shrink-FnAbi, r=bjorn3
[rust.git] / src / test / run-make-fulldeps / link-cfg / dep-with-staticlib.rs
1 #![feature(link_cfg)]
2 #![crate_type = "rlib"]
3
4 #[link(name = "return1", cfg(foo))]
5 #[link(name = "return3", kind = "static", cfg(bar))]
6 extern "C" {
7     pub fn my_function() -> i32;
8 }