rust/tests/run-make/c-link-to-rust-dylib/foo.rs

5 lines
66 B
Rust

#![crate_type = "dylib"]
#[no_mangle]
pub extern "C" fn foo() {}