rust/tests/run-make/manual-link/foo.rs

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

12 lines
106 B
Rust
Raw Normal View History

#![crate_type = "rlib"]
2020-09-01 16:12:52 -05:00
extern "C" {
fn bar();
}
pub fn foo() {
2020-09-01 16:12:52 -05:00
unsafe {
bar();
}
}