rust/tests/ui/feature-gates/feature-gate-native_link_modifiers_as_needed.rs
2023-01-11 09:32:08 +00:00

6 lines
145 B
Rust

#[link(name = "foo", kind = "dylib", modifiers = "+as-needed")]
//~^ ERROR: linking modifier `as-needed` is unstable
extern "C" {}
fn main() {}