1
Fork 0

Remove attribute #[link_args]

This commit is contained in:
Vadim Petrochenkov 2021-04-03 20:20:18 +03:00
parent 97717a5618
commit 5839bff0ba
21 changed files with 12 additions and 219 deletions

View file

@ -279,11 +279,6 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
// Linking:
gated!(naked, AssumedUsed, template!(Word), naked_functions, experimental!(naked)),
gated!(
link_args, Normal, template!(NameValueStr: "args"),
"the `link_args` attribute is experimental and not portable across platforms, \
it is recommended to use `#[link(name = \"foo\")] instead",
),
gated!(
link_ordinal, AssumedUsed, template!(List: "ordinal"), raw_dylib,
experimental!(link_ordinal)