Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
#[link(name = "foo")] // linker should drop this library, no symbols used
#[link(name = "bar")] // symbol comes from this library
#[link(name = "foo")] // now linker picks up `foo` b/c `bar` library needs it
extern "C" {
fn bar();
}
fn main() {
unsafe { bar() }