fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0658]: the `link_args` attribute is experimental and not portable across platforms, it is recommended to use `#[link(name = "foo")] instead 2 --> $DIR/feature-gate-link_args.rs:12:1 3 | 4LL | #[link_args = "-l expected_use_case"] 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: for more information, see https://github.com/rust-lang/rust/issues/29596 8 = help: add `#![feature(link_args)]` to the crate attributes to enable 9 10error[E0658]: the `link_args` attribute is experimental and not portable across platforms, it is recommended to use `#[link(name = "foo")] instead 11 --> $DIR/feature-gate-link_args.rs:16:1 12 | 13LL | #[link_args = "-l unexected_use_on_non_extern_item"] 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15 | 16 = note: for more information, see https://github.com/rust-lang/rust/issues/29596 17 = help: add `#![feature(link_args)]` to the crate attributes to enable 18 19error[E0658]: the `link_args` attribute is experimental and not portable across platforms, it is recommended to use `#[link(name = "foo")] instead 20 --> $DIR/feature-gate-link_args.rs:9:1 21 | 22LL | #![link_args = "-l unexpected_use_as_inner_attr_on_mod"] 23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 24 | 25 = note: for more information, see https://github.com/rust-lang/rust/issues/29596 26 = help: add `#![feature(link_args)]` to the crate attributes to enable 27 28error: aborting due to 3 previous errors 29 30For more information about this error, try `rustc --explain E0658`.