rust/tests/ui/native-library-link-flags/link-arg-from-rs.rs

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() {}