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

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

13 lines
302 B
Rust
Raw Normal View History

#[link(name = "foo")]
#[link(
//~^ ERROR malformed `link` attribute input
name = "bar",
kind = "static",
modifiers = "+whole-archive,-whole-archive",
//~^ ERROR multiple `whole-archive` modifiers in a single `modifiers` argument
modifiers = "+bundle"
)]
extern "C" {}
fn main() {}