rust/tests/run-make-fulldeps/interdependent-c-libraries/foo.rs
2023-01-11 09:32:08 +00:00

13 lines
146 B
Rust

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