]> git.lizzy.rs Git - rust.git/blob - tests/run-make/native-link-modifier-bundle/bundled.rs
Auto merge of #107811 - matthiaskrgr:rollup-rpjzshk, r=matthiaskrgr
[rust.git] / tests / run-make / native-link-modifier-bundle / bundled.rs
1 #[link(name = "native-staticlib", kind = "static", modifiers = "+bundle")]
2 extern "C" {
3     pub fn native_func();
4 }
5
6 #[no_mangle]
7 pub extern "C" fn wrapped_func() {
8     unsafe {
9         native_func();
10     }
11 }