mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
8 lines
304 B
Rust
8 lines
304 B
Rust
// Mixing +bundle and +whole-archive is not allowed
|
|
|
|
// compile-flags: -l static:+bundle,+whole-archive=mylib -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
|
|
|
|
fn main() { }
|