rust/tests/run-make-fulldeps/archive-duplicate-names/foo.rs
2023-01-11 09:32:08 +00:00

15 lines
174 B
Rust

#![crate_type = "rlib"]
#[link(name = "foo", kind = "static")]
extern "C" {
fn foo();
fn bar();
}
pub fn baz() {
unsafe {
foo();
bar();
}
}