mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
f7617c1cd4
- Implement link-arg as an attribute - Apply suggestions from review - Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com> - Add unstable book entry
6 lines
113 B
Rust
6 lines
113 B
Rust
#[link(kind = "link-arg", name = "foo")]
|
|
//~^ ERROR link kind `link-arg` is unstable
|
|
extern "C" {}
|
|
|
|
fn main() {}
|