mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
12 lines
330 B
Rust
12 lines
330 B
Rust
// 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() {}
|