mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 03:33:59 +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() {}
|