rust/tests/ui/linkage-attr/auxiliary/link-cfg-works-transitive-rlib.rs
2024-02-16 20:02:50 +00:00

8 lines
116 B
Rust

//@ no-prefer-dynamic
#![feature(link_cfg)]
#![crate_type = "rlib"]
#[link(name = "foo", cfg(foo))]
extern "C" {}