Skip to content

Couple of codegen_fn_attrs improvements #145429

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bjorn3
Copy link
Member

@bjorn3 bjorn3 commented Aug 15, 2025

As noted in #144678 (comment) here is no need to keep link_name and export_name separate, which the third commit fixes by merging them. The second commit removes some dead code and the first commit merges two ifs with equivalent conditions. The last commit is an unrelated change which removes an unused feature(autodiff).

@rustbot
Copy link
Collaborator

rustbot commented Aug 15, 2025

r? @BoxyUwU

rustbot has assigned @BoxyUwU.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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. labels Aug 15, 2025
@rustbot
Copy link
Collaborator

rustbot commented Aug 15, 2025

Some changes occurred in compiler/rustc_codegen_ssa

cc @WaffleLapkin

@bjorn3
Copy link
Member Author

bjorn3 commented Aug 15, 2025

cc @jdonszelmann

@jdonszelmann
Copy link
Contributor

Will review tonight

@rust-log-analyzer

This comment has been minimized.

@bjorn3 bjorn3 force-pushed the codegen_fn_attrs_improvements branch from d33e196 to c36ea63 Compare August 15, 2025 10:03
@rustbot
Copy link
Collaborator

rustbot commented Aug 15, 2025

The Miri subtree was changed

cc @rust-lang/miri

@bjorn3 bjorn3 force-pushed the codegen_fn_attrs_improvements branch from c36ea63 to f94a0d0 Compare August 15, 2025 10:04
@BoxyUwU BoxyUwU assigned jdonszelmann and unassigned BoxyUwU Aug 16, 2025
@jdonszelmann
Copy link
Contributor

looks good bjorn :)

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Aug 16, 2025

📌 Commit f94a0d0 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 Aug 16, 2025
jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 17, 2025
…ts, r=jdonszelmann

Couple of codegen_fn_attrs improvements

As noted in rust-lang#144678 (comment) here is no need to keep link_name and export_name separate, which the third commit fixes by merging them. The second commit removes some dead code and the first commit merges two ifs with equivalent conditions. The last commit is an unrelated change which removes an unused `feature(autodiff)`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-attributes Area: Attributes (`#[…]`, `#![…]`) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants