Port #[export_name] to the new attribute parsing infrastructure by JonathanBrouwer · Pull Request #142986 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation24 Commits2 Checks10 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

@JonathanBrouwer

This PR contains two changes, in separate commits for reviewability:

r? @jdonszelmann

@rustbot

jdonszelmann is currently at their maximum review capacity.
They may take a while to respond.

@rustbot rustbot added A-attributes

Area: Attributes (`#[…]`, `#![…]`)

S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

T-rustdoc

Relevant to the rustdoc team, which will review and decide on the PR/issue.

labels

Jun 24, 2025

@rustbot

Some changes occurred in compiler/rustc_passes/src/check_attr.rs

cc @jdonszelmann

Some changes occurred in compiler/rustc_attr_data_structures

cc @jdonszelmann

Some changes occurred in compiler/rustc_codegen_ssa

cc @WaffleLapkin

Some changes occurred in compiler/rustc_attr_parsing

cc @jdonszelmann

Some changes occurred in compiler/rustc_codegen_ssa/src/codegen_attrs.rs

cc @jdonszelmann

jdonszelmann

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.

@rustbot rustbot added S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Jun 24, 2025

@JonathanBrouwer

^ Rebased & fixed feedback
@rustbot ready

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

and removed S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

labels

Jun 25, 2025

@jdonszelmann

@bors

📌 Commit 85108ca has been approved by jdonszelmann

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Jun 25, 2025

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Jun 25, 2025

@matthiaskrgr

…, r=jdonszelmann

Port #[export_name] to the new attribute parsing infrastructure

This PR contains two changes, in separate commits for reviewability:

r? @jdonszelmann

Urgau

@jdonszelmann

@bors bors added S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

and removed S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

labels

Jun 25, 2025

@JonathanBrouwer

^ Fixed the comment above
@rustbot ready

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

and removed S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

labels

Jun 26, 2025

@jdonszelmann

Will likely fail ci after the merges from yesterday fyi

@rust-log-analyzer

This comment has been minimized.

@JonathanBrouwer

Signed-off-by: Jonathan Brouwer jonathantbrouwer@gmail.com

@JonathanBrouwer

…he error

Signed-off-by: Jonathan Brouwer jonathantbrouwer@gmail.com

@JonathanBrouwer

Well predicted :P
^ I think that should fix it? Haven't ran the test suite locally because my laptop is a bit underpowered, really miss my desktop at home when I'm in the train

I'll fix the other PRs in a bit

@jdonszelmann

@bors

📌 Commit 3d1cee5 has been approved by jdonszelmann

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Jun 26, 2025

This was referenced

Jun 26, 2025

bors added a commit that referenced this pull request

Jun 27, 2025

@bors

…rors

Rollup of 18 pull requests

Successful merges:

Failed merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit that referenced this pull request

Jun 27, 2025

@rust-timer

Rollup merge of #142986 - JonathanBrouwer:export_name_parser, r=jdonszelmann

Port #[export_name] to the new attribute parsing infrastructure

This PR contains two changes, in separate commits for reviewability:

r? @jdonszelmann

github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request

Jul 4, 2025

@bors

Labels

A-attributes

Area: Attributes (`#[…]`, `#![…]`)

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

T-rustdoc

Relevant to the rustdoc team, which will review and decide on the PR/issue.