]> git.lizzy.rs Git - rust.git/blob - tests/run-make/native-link-modifier-bundle/non-bundled.rs
Upgrade mingw-w64 on CI
[rust.git] / tests / run-make / native-link-modifier-bundle / non-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 }