rust/tests/run-make-fulldeps/cross-lang-lto-upstream-rlibs/staticlib.rs
2023-01-11 09:32:08 +00:00

9 lines
114 B
Rust

#![crate_type="staticlib"]
extern crate upstream;
#[no_mangle]
pub extern "C" fn bar() {
upstream::foo();
}