Skip to content

Split IncrCompSession out of Session#159225

Open
bjorn3 wants to merge 1 commit into
rust-lang:mainfrom
bjorn3:split_incr_comp_session
Open

Split IncrCompSession out of Session#159225
bjorn3 wants to merge 1 commit into
rust-lang:mainfrom
bjorn3:split_incr_comp_session

Conversation

@bjorn3

@bjorn3 bjorn3 commented Jul 13, 2026

Copy link
Copy Markdown
Member

This will allow introducing a separate incr comp session dir for the post LTO artifacts in the future. In addition it statically encodes the lifetime of the incr comp session rather than requiring an enum behind a mutex stored in the Session.

Based on #159000
Part of rust-lang/compiler-team#908

@rustbot

rustbot commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

rustc_codegen_gcc is developed in its own repository. If possible, consider making this change to rust-lang/rustc_codegen_gcc instead.

cc @antoyo, @GuillaumeGomez

@rustbot rustbot added 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 Jul 13, 2026
@rustbot

rustbot commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

r? @jackh726

rustbot has assigned @jackh726.
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

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler, incremental
  • compiler, incremental expanded to 75 candidates
  • Random selection from 18 candidates

@bjorn3
bjorn3 marked this pull request as draft July 13, 2026 13:52
@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 Jul 13, 2026
@bjorn3 bjorn3 added the S-blocked Status: Blocked on something else such as an RFC or other implementation work. label Jul 13, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-bors

This comment has been minimized.

@bjorn3
bjorn3 force-pushed the split_incr_comp_session branch 2 times, most recently from da7be36 to 5b8856f Compare July 21, 2026 09:31
@bjorn3
bjorn3 marked this pull request as ready for review July 21, 2026 09:34
@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 Jul 21, 2026
@bjorn3

bjorn3 commented Jul 21, 2026

Copy link
Copy Markdown
Member Author

#159000 has landed.

@rustbot ready

@bjorn3 bjorn3 removed the S-blocked Status: Blocked on something else such as an RFC or other implementation work. label Jul 21, 2026
@rust-log-analyzer

This comment has been minimized.

This will allow introducing a separate incr comp session dir for the
post LTO artifacts in the future. In addition it statically encodes the
lifetime of the incr comp session rather than requiring an enum behind a
mutex stored in the Session.
@bjorn3
bjorn3 force-pushed the split_incr_comp_session branch from 5b8856f to b87b61a Compare July 21, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-incr-comp Area: Incremental compilation 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants