mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
12 lines
249 B
Rust
12 lines
249 B
Rust
//@ 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() {}
|