-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Port #[export_name]
to the new attribute parsing infrastructure
#142986
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
base: master
Are you sure you want to change the base?
Port #[export_name]
to the new attribute parsing infrastructure
#142986
Conversation
|
Some changes occurred in compiler/rustc_passes/src/check_attr.rs Some changes occurred in compiler/rustc_attr_data_structures Some changes occurred in compiler/rustc_codegen_ssa Some changes occurred in compiler/rustc_attr_parsing Some changes occurred in compiler/rustc_codegen_ssa/src/codegen_attrs.rs |
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.
I'll sequence this after #142825 which likely needs a rebase anyway. I like the impl, just some minor things.
83731a6
to
85108ca
Compare
^ Rebased & fixed feedback |
@bors r+ rollup |
…, r=jdonszelmann Port `#[export_name]` to the new attribute parsing infrastructure This PR contains two changes, in separate commits for reviewability: - Ports `export_name` to the new attribute parsing infrastructure for rust-lang#131229 (comment) - Moves the check for mixing export_name/no_mangle to check_attr.rs and improve the error message, which previously had a mix of 2021/2024 edition syntax r? `@jdonszelmann`
@bors r- |
85108ca
to
8d80099
Compare
^ Fixed the comment above |
Will likely fail ci after the merges from yesterday fyi |
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Jonathan Brouwer <[email protected]>
…he error Signed-off-by: Jonathan Brouwer <[email protected]>
8d80099
to
3d1cee5
Compare
Well predicted :P |
This PR contains two changes, in separate commits for reviewability:
export_name
to the new attribute parsing infrastructure for Tracking issue: Attribute refactor #131229 (comment)r? @jdonszelmann