mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
9 lines
307 B
Rust
9 lines
307 B
Rust
// 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() { }
|