Files
rust/tests/ui/link-native-libs/modifiers-override.rs

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

12 lines
249 B
Rust
Raw Normal View History

//@ compile-flags:-ldylib:+as-needed=foo -lstatic=bar -Zunstable-options
#[link(name = "foo")]
#[link(
name = "bar",
kind = "static",
)]
extern "C" {}
//~^ ERROR overriding linking modifiers from command line is not supported
fn main() {}