os-rust/tests/run-make/link-native-static-lib-to-dylib/foo.rs

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

7 lines
98 B
Rust
Raw Permalink Normal View History

#![crate_type = "dylib"]
#[link(name = "foo", kind = "static")]
2020-09-01 17:12:52 -04:00
extern "C" {
pub fn foo();
}