Skip to content

Only extract lang items once in codegen_fn_attrs - #144685

Merged
bors merged 2 commits into
rust-lang:masterfrom
jdonszelmann:lang-items-once
Jul 31, 2025
Merged

Only extract lang items once in codegen_fn_attrs#144685
bors merged 2 commits into
rust-lang:masterfrom
jdonszelmann:lang-items-once

Conversation

@jdonszelmann

@jdonszelmannjdonszelmann commented Jul 30, 2025

Copy link
Copy Markdown
Contributor

This one should be obvious. These two extraction points used to be far apart but now that they're refactored to be close it was rather obvious we're just doing double work....

r? @WaffleLapkin

Buils on #144655

@rustbot

Copy link
Copy Markdown
Collaborator

WaffleLapkin is not on the review rotation at the moment.
They may take a while to respond.

@rustbotrustbot 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. labels Jul 30, 2025
@rustbot

Copy link
Copy Markdown
Collaborator

Some changes occurred in compiler/rustc_codegen_ssa

cc @WaffleLapkin

@WaffleLapkinWaffleLapkin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me

@jdonszelmann

Copy link
Copy Markdown
ContributorAuthor

@bors r=wafflelapkin rollup

@bors

bors commented Jul 30, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 3fe0e24 has been approved by wafflelapkin

It is now in the queue for this repository.

@borsbors 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 Jul 30, 2025
Zalathar added a commit to Zalathar/rust that referenced this pull request Jul 31, 2025
…fflelapkin
Only extract lang items once in codegen_fn_attrs
This one should be obvious. These two extraction points used to be far apart but now that they're refactored to be close it was rather obvious we're just doing double work....
r? `@WaffleLapkin`
Buils on rust-lang#144655
@ZalatharZalathar mentioned this pull request Jul 31, 2025
bors added a commit that referenced this pull request Jul 31, 2025
Rollup of 6 pull requests
Successful merges:
- #135975 (Implement `push_mut`)
- #143672 (Fix Box allocator drop elaboration)
- #144232 (Implement support for `become` and explicit tail call codegen for the LLVM backend)
- #144663 (coverage: Re-land "Enlarge empty spans during MIR instrumentation")
- #144683 (Simplify library dependencies on `compiler-builtins`)
- #144685 (Only extract lang items once in codegen_fn_attrs)
r? `@ghost`
`@rustbot` modify labels: rollup
@ZalatharZalathar mentioned this pull request Jul 31, 2025
bors added a commit that referenced this pull request Jul 31, 2025
Rollup of 6 pull requests
Successful merges:
- #135975 (Implement `push_mut`)
- #143672 (Fix Box allocator drop elaboration)
- #144232 (Implement support for `become` and explicit tail call codegen for the LLVM backend)
- #144663 (coverage: Re-land "Enlarge empty spans during MIR instrumentation")
- #144685 (Only extract lang items once in codegen_fn_attrs)
- #144717 (Move `rustc_middle::parameterized`)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 45169cb into rust-lang:masterJul 31, 2025
10 checks passed
@rustbotrustbot added this to the 1.90.0 milestone Jul 31, 2025
rust-timer added a commit that referenced this pull request Jul 31, 2025
Rollup merge of #144685 - jdonszelmann:lang-items-once, r=wafflelapkin
Only extract lang items once in codegen_fn_attrs
This one should be obvious. These two extraction points used to be far apart but now that they're refactored to be close it was rather obvious we're just doing double work....
r? ``@WaffleLapkin``
Buils on #144655
Kobzol pushed a commit to Kobzol/rustc_codegen_gcc that referenced this pull request Dec 21, 2025
Rollup of 6 pull requests
Successful merges:
- rust-lang/rust#135975 (Implement `push_mut`)
- rust-lang/rust#143672 (Fix Box allocator drop elaboration)
- rust-lang/rust#144232 (Implement support for `become` and explicit tail call codegen for the LLVM backend)
- rust-lang/rust#144663 (coverage: Re-land "Enlarge empty spans during MIR instrumentation")
- rust-lang/rust#144685 (Only extract lang items once in codegen_fn_attrs)
- rust-lang/rust#144717 (Move `rustc_middle::parameterized`)
r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributesArea: Attributes (`#[…]`, `#![…]`)S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant 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.

4 participants

@jdonszelmann@rustbot@bors@WaffleLapkin