T-compiler Meeting Agenda 2026-06-04
Announcements
- Reminder: if you see a PR/issue that seems like there might be legal implications due to copyright/IP/etc, please let us know (or at least message @davidtwco or @Boxy so we can pass it along).
Other WG meetings
- @_Jana office hours restarting time:2026-06-04T16:15:00+02:00 and time:2026-06-08T16:00:00+02:00
MCPs/FCPs
- New MCPs (take a look, see if you like them!)
- “Add
-Zglobal-target-cpu” compiler-team#991 (Zulip) - “Create a new Tier 3 target:
s390x-ibm-zos” compiler-team#992 (Zulip)- concern: expected-support-from-rust-project
- “
{cwd}placeholder in –remap-path-prefix” compiler-team#998 ([Zulip](@rustbot label +major-change +T-compiler))
- “Add
- Old MCPs (not seconded, take a look)
- “Create a new Tier 3 target:
x86_64-nt-windows-msvc” compiler-team#952 (Zulip) (last review activity: about 0 days ago) - “group target modifier options under
-T” compiler-team#980 (Zulip) (last review activity: 2 months ago) - “Create a new Tier 3 target:
powerpc-unknown-none” compiler-team#986 (Zulip) (last review activity: about 34 days ago) - “Create a new Tier 3 target:
powerpc64-unknown-none” compiler-team#987 (Zulip) (last review activity: about 34 days ago)
- “Create a new Tier 3 target:
- Pending FCP requests (check your boxes!)
- merge: Stabilize stack-protector (rust#146369)
- @|116266 @|426609 @_|444933
- concerns: mitigation-enforcement (by Noratrieb)
- merge: Stabilize stack-protector (rust#146369)
- Things in FCP (make sure you’re good with it)
- “Proposal for Adapt Stack Protector for Rust” compiler-team#841 (Zulip)
- concern: inhibit-opts
- concern: lose-debuginfo-data
- concern: impl-at-mir-level
- “Promote tier 3 riscv32 ESP-IDF targets to tier 2” compiler-team#864 (Zulip)
- concern: documentation
- concern: continued-maintainer-interest
- “Optimize
repr(Rust)enums by omitting tags in more cases involving uninhabited variants.” compiler-team#922 (Zulip) - “Add flag to pass MSRV/
package.rust-versionfor use by lints” compiler-team#950 (Zulip) - “Create a new Tier 3 target:
powerpc64le-unknown-none” compiler-team#988 (Zulip)- concern: softfloat
- concern: baseline-features
- “Set requirements for windows-gnu” compiler-team#993 (Zulip)
- “Add
-Zllvm-target-featuretarget modifier to directly set LLVM-level target features, and deprecate doing that with-Ctarget-feature” compiler-team#994 (Zulip) - “Test new solver and polonius alpha on CI” compiler-team#996 (Zulip)
- “Desugar async blocks in HIR instead of MIR” compiler-team#997 (Zulip)
- “riscv: promote d, e, and f target_features to CfgStableToggleUnstable” rust#156188
- “Proposal for Adapt Stack Protector for Rust” compiler-team#841 (Zulip)
- Accepted MCPs
- “Add -Z dead-fn-elimination to skip codegen of BFS-unreachable functions” compiler-team#976 (Zulip)
- “Removing the unstable ptx linker flavor” compiler-team#990 (Zulip)
- MCPs blocked on unresolved concerns
- “Basic target naming rules” compiler-team#850 (Zulip) (last review activity: 8 months ago)
- “WebAssembly for procedural macros” compiler-team#876 (Zulip) (last review activity: 10 months ago)
- concern: proposal-wording
- “Relative VTables for Rust” compiler-team#903 (Zulip) (last review activity: about 0 days ago)
- concern: needs-champion
- “Split the
-openbsd*targets by version” compiler-team#916 (Zulip) (last review activity: 7 months ago)- concern: why-not-ports-rustc
- concern: nonsystematic-breakage
- concern: version-churn
- “Stop bumping the bootstrap version on every rustc release” compiler-team#925 (Zulip) (last review activity: 3 months ago)
- concern: we-like-using-the-features-we-ship
- concern: infra-and-bootstrap-burden
- “Doc comments and attributes on macro arms” compiler-team#935 (Zulip) (last review activity: 6 months ago)
- concern: lang
- “Publish
rustc_publiccrate v0.1 to crates.io” compiler-team#949 (Zulip) (last review activity: 2 months ago) - “Query
gitstate to get information on a currently ongoing rebase when encountering conflict markers” compiler-team#955 (Zulip) (last review activity: 4 months ago)- concern: not worth the complexity
- “Allow crates downstream of
rustc_middleto define queries” compiler-team#966 (Zulip) (last review activity: 3 months ago)- concern: complexity
- concern: fragmentation
- Finalized FCPs (disposition merge)
- [T-types] “Make trait refs & assoc ty paths properly induce trait object lifetime defaults” rust#129543
Interesting MCPs/FCPs
Note: let’s review them one by one (maybe send pings?)
- Pending FCP
- merge: Clean up crate type names to fix dylib vs staticlib confusion (rust#153863)
- @|124288 @|125250 @_|353056
- no pending concerns, seems just waiting on 1 more tick from T-compiler
- merge: Stabilize
-Zprofile-sample-use(rust#155942)- @|116266 @|125250 @|116107 @|119031 @|116122 @|123856 @|370197 @|343125
- no pending concerns, FCP opened 2 days ago (all’s good, I think)
- merge: Clean up crate type names to fix dylib vs staticlib confusion (rust#153863)
Backport nominations
T-compiler beta / T-compiler stable
- :beta: “Revert “drop derive helpers during ast lowering” " rust#157150
- Authored by JonathanBrouwer
- Voting T-compiler Zulip topic and T-rustdoc’s
- This revert fixes #157107, a T-rustdoc (nightly-only) regression. The revert undoes commit https://github.com/rust-lang/rust/commit/29e9273185bd6d67145524733bbf4af4c4cc65c8
- there was a bit of back and forth and some questions on both sides if we should backport a revert on something that has not stable guarantees. In the end it seems that the change is small and safe enough to backport.
- Urgau: I’ve nominated the backport for the next rustdoc meeting (next monday)
- No stable nominations for
T-compilerthis time.
- No beta nominations for
T-typesthis time. - No stable nominations for
T-typesthis time.
PRs S-waiting-on-t-compiler
- “Stabilize
-Zprofile-sample-use” rust#155942- (FCP opened 2 days ago)
- Issues in progress or waiting on other teams
Issues of Note
Short Summary
- 0 T-compiler P-critical issues
- 61 T-compiler P-high issues
- 0 P-critical, 0 P-high, 1 P-medium, 0 P-low regression-from-stable-to-beta
- 0 P-critical, 0 P-high, 1 P-medium, 0 P-low regression-from-stable-to-nightly
- 0 P-critical, 33 P-high, 100 P-medium, 31 P-low regression-from-stable-to-stable
P-critical
- No
P-criticalissues forT-compilerthis time.
- No
P-criticalissues forT-typesthis time.
P-high regressions
:warning: Note: a new beta (1.96) crater-run has just completed and we have a few regressions (will look into them)
- No
P-highbeta regressions this time.
Unassigned P-high nightly regressions
- No unassigned
P-highnightly regressions this time.
Performance logs
This week we saw nice wins across the board thanks to merging several compiler queries together (#155678), and also substantial improvements in doc performance thanks to
doing less work when sorting trait impls (#157179).
Triage done by @Kobzol. Revision range: 783eb8c8..4804ad7e
Summary:
| (instructions:u) | mean | range | count |
|---|---|---|---|
| Regressions (primary) | 0.3% | [0.1%, 0.7%] | 14 |
| Regressions (secondary) | 0.4% | [0.1%, 0.9%] | 39 |
| Improvements (primary) | -0.9% | [-6.8%, -0.2%] | 111 |
| Improvements (secondary) | -1.1% | [-2.9%, -0.1%] | 53 |
| All (primary) | -0.8% | [-6.8%, 0.7%] | 125 |
3 Regressions, 1 Improvement, 2 Mixed; 4 of them in rollups 35 artifact comparisons made in total
Regressions
Rollup of 10 pull requests #157031 (Comparison Link)
| (instructions:u) | mean | range | count |
|---|---|---|---|
| Regressions (primary) | 0.2% | [0.2%, 0.2%] | 3 |
| Regressions (secondary) | 0.3% | [0.2%, 0.6%] | 7 |
| Improvements (primary) | - | - | 0 |
| Improvements (secondary) | - | - | 0 |
| All (primary) | 0.2% | [0.2%, 0.2%] | 3 |
- Noise that reverted back in follow-up PRs.
- Already marked as triaged.
Rollup of 8 pull requests #157161 (Comparison Link)
| (instructions:u) | mean | range | count |
|---|---|---|---|
| Regressions (primary) | 0.2% | [0.1%, 0.6%] | 15 |
| Regressions (secondary) | 0.5% | [0.1%, 2.4%] | 18 |
| Improvements (primary) | - | - | 0 |
| Improvements (secondary) | -0.0% | [-0.0%, -0.0%] | 1 |
| All (primary) | 0.2% | [0.1%, 0.6%] | 15 |
- Regression caused by #156875, continuing discussion on that PR.
- Marked as triaged.
Rollup of 2 pull requests #157177 (Comparison Link)
| (instructions:u) | mean | range | count |
|---|---|---|---|
| Regressions (primary) | 0.1% | [0.1%, 0.1%] | 3 |
| Regressions (secondary) | - | - | 0 |
| Improvements (primary) | - | - | 0 |
| Improvements (secondary) | - | - | 0 |
| All (primary) | 0.1% | [0.1%, 0.1%] | 3 |
- Either noise or #157165, but the regression is tiny and only on a single benchmark, not worth digging deeper.
- Marked as triaged.
Improvements
rustdoc: optimize impl sorting #157179 (Comparison Link)
| (instructions:u) | mean | range | count |
|---|---|---|---|
| Regressions (primary) | - | - | 0 |
| Regressions (secondary) | - | - | 0 |
| Improvements (primary) | -1.5% | [-6.7%, -0.3%] | 13 |
| Improvements (secondary) | -1.1% | [-1.9%, -0.4%] | 2 |
| All (primary) | -1.5% | [-6.7%, -0.3%] | 13 |
Mixed
Merge several HIR-level queries into one #155678 (Comparison Link)
| (instructions:u) | mean | range | count |
|---|---|---|---|
| Regressions (primary) | - | - | 0 |
| Regressions (secondary) | 0.4% | [0.0%, 1.1%] | 11 |
| Improvements (primary) | -0.7% | [-1.7%, -0.1%] | 109 |
| Improvements (secondary) | -0.9% | [-2.8%, -0.1%] | 62 |
| All (primary) | -0.7% | [-1.7%, -0.1%] | 109 |
- Wins greatly outweigh the regressions.
- Marked as triaged.
Rollup of 16 pull requests #157121 (Comparison Link)
| (instructions:u) | mean | range | count |
|---|---|---|---|
| Regressions (primary) | - | - | 0 |
| Regressions (secondary) | 0.6% | [0.3%, 1.0%] | 9 |
| Improvements (primary) | - | - | 0 |
| Improvements (secondary) | -0.1% | [-0.2%, -0.1%] | 2 |
| All (primary) | - | - | 0 |
Nominated Issues
- “stabilize optimize attribute” rust#157273
- Opened 3 days ago, nominated by @_Trevor Gross (in comment)
- @Jieyou Xu (left a review) and @nagisa (comment) had a first look
- “MIR move elimination” rfcs#3943
Oldest PRs waiting for review
- “lint ImproperCTypes: refactor linting architecture (part 3)” rust#146275 (last review activity: 7 months ago)
- maybe cc @_Jana (why T-bootstrap, btw?)
- “Dont bail in error predicate unless self ty is error in new solver” rust#150453 (last review activity: 4 months ago)
- cc @_lcnr
Next meetings’ agenda draft: hackmd link