mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +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() {}
|