mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 20:47:36 +00:00
8 lines
212 B
Rust
8 lines
212 B
Rust
#![feature(link_arg_attribute)]
|
|
|
|
#[link(kind = "link-arg", name = "arg", modifiers = "+bundle")]
|
|
//~^ ERROR linking modifier `bundle` is only compatible with `static` linking kind
|
|
extern "C" {}
|
|
|
|
pub fn main() {}
|