433da1fc04
They pass fine.
9 lines
144 B
Rust
9 lines
144 B
Rust
#![feature(link_cfg)]
|
|
#![crate_type = "rlib"]
|
|
|
|
#[link(name = "testb", cfg(foo))]
|
|
extern "C" {}
|
|
|
|
#[link(name = "testb", cfg(bar))]
|
|
extern "C" {}
|