]> git.lizzy.rs Git - rust.git/blob - src/test/ui/native-library-link-flags/mix-bundle-and-whole-archive-link-attr.rs
Pin panic-in-drop=abort test to old pass manager
[rust.git] / src / test / ui / native-library-link-flags / mix-bundle-and-whole-archive-link-attr.rs
1 // compile-flags: -Zunstable-options --crate-type rlib
2 // build-fail
3 // error-pattern: the linking modifiers `+bundle` and `+whole-archive` are not compatible with each other when generating rlibs
4
5 #![feature(native_link_modifiers)]
6 #![feature(native_link_modifiers_bundle)]
7 #![feature(native_link_modifiers_whole_archive)]
8
9 #[link(name = "mylib", kind = "static", modifiers = "+bundle,+whole-archive")]
10 extern "C" { }
11
12 fn main() { }