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() { }
|