]> git.proxmox.com Git - rustc.git/blob - src/test/run-make/native-link-modifier-bundle/bundled.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / 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 }