blob: b153ef94626a39e13469cc72b8fa184c724aa5b4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// compile-flags: -Zunstable-options --crate-type rlib
// build-fail
// error-pattern: the linking modifiers `+bundle` and `+whole-archive` are not compatible with each other when generating rlibs
#![feature(native_link_modifiers_bundle)]
#[link(name = "mylib", kind = "static", modifiers = "+bundle,+whole-archive")]
extern "C" { }
fn main() { }
|