blob: 066048795c8a2371db1fa903bc4279e83dc9584c (
plain)
1
2
3
4
5
6
7
8
|
// 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
#[link(name = "mylib", kind = "static", modifiers = "+bundle,+whole-archive")]
extern "C" { }
fn main() { }
|