-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Fix feature gate for #[link_args(..)]
attribute
#43109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
820387e
to
0419a01
Compare
Should this be cratered? |
(agh that's almost certainly going to break tidy; will fix pronto) |
@est31 yeah probably, just to double-check that the impact is minimal (because otherwise I suspect we would go through the more painful route of a warning cycle) |
build fails:
|
Crater builds complete. Running tests now. |
// purposes of this test) | ||
#![allow(unused_attributes)] | ||
|
||
#[link_args = "-l bunny1"] //~ ERROR: the `link_args` attribute is experimental |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget to test it as a crate level attribute #![link_args]
instead of as an attribute on an item.
regardless of context of attribute. Extend the gating test to include the attribute in "weird" places.
5f0c06f
to
c512dea
Compare
Here is the crater report: Root regressions, sorted by rank:
|
@bors r+ |
📌 Commit c512dea has been approved by |
☀️ Test successful - status-appveyor, status-travis |
Fix feature gate for
#[link_args(..)]
attribute so that it will fire regardless of context of attribute.See also #29596 and #43106