rust/tests/run-make/raw-dylib-custom-dlltool/lib.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
153 B
Rust
Raw Normal View History

#[link(name = "extern_1", kind = "raw-dylib")]
extern {
fn extern_fn_1();
}
pub fn library_function() {
unsafe {
extern_fn_1();
}
}