blob: 9f7a9e2213c0927a78b47a2a7edd7f44ffb2e917 [file] [log] [blame] [edit]
#![crate_type = "dylib"]
#[link(name = "cfoo")]
extern "C" {
fn foo();
}
pub fn rsfoo() {
unsafe { foo() }
}