rust/tests/ui/native-library-link-flags/mix-bundle-and-whole-archive-link-attr.rs

12 lines
330 B
Rust
Raw Normal View History

// gate-test-packed_bundled_libs
// ignore-wasm32-bare
// compile-flags: --crate-type rlib
// error-pattern: link modifiers combination `+bundle,+whole-archive` is unstable when generating rlibs
// build-fail
#[link(name = "rust_test_helpers", kind = "static", modifiers = "+bundle,+whole-archive")]
extern "C" {}
fn main() {}