T-compiler Meeting Agenda 2024-12-19
Announcements
- Steering meeting: Rust Project Goal Review time:2024-12-20T16:00:00+01:00
- T-compiler planning meeting time:2024-12-20T16:00:00+01:00
- 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 @Wesley Wiser so we can pass it along).
Other WG meetings
- Stable MIR Weekly Meeting time:2024-12-20T17:00:00+01:00
- @_davidtwco office hours time:2024-12-20T17:00:00+01:00
MCPs/FCPs
- New MCPs (take a look, see if you like them!)
- None
- Old MCPs (stale MCP might be closed as per MCP procedure)
- None at this time
- Old MCPs (not seconded, take a look)
- “Add hygiene attributes to compile expanded source code” compiler-team#692 (Zulip) (last review activity: 3 months ago)
- “Add Hotpatch flag” compiler-team#745 (Zulip) (last review activity: 2 months ago)
- “Add
evex512
target feature for AVX10” compiler-team#778 (Zulip) (last review activity: about 13 days ago)- concern: design-around-naming-scheme
- “Policy change around adding new unstable flags” compiler-team#787 (Zulip) (last review activity: 2 months ago)
- “Normalize FileCheck directives” compiler-team#789 (Zulip) (last review activity: 2 months ago)
- “Relink, don’t rebuild” compiler-team#790 (Zulip) (last review activity: 2 months ago)
- “Create an avr-unknown-none target” compiler-team#800 (Zulip) (last review activity: about 39 days ago)
- Pending FCP requests (check your boxes!)
- “sanitizers: Stabilize AddressSanitizer and LeakSanitizer for the Tier 1 targets” rust#123617
- “const-eval: detect more pointers as definitely not-null” rust#133700
- Things in FCP (make sure you’re good with it)
- “Make the test cfg a userspace check-cfg” compiler-team#785 (Zulip)
- “Use debuginfo for short backtrace printing” compiler-team#818 (Zulip)
- “Policy: rustc can be run on case-insensitive filesystems but works in a case-sensitive way” compiler-team#819 (Zulip)
- “T-compiler Supplemental Tool Policy (Linker Scripts, etc.)” compiler-team#820 (Zulip)
- Accepted MCPs
- “Promote OpenHarmony targets to Tier 2 with Host Tools” compiler-team#811 (Zulip)
- “Set the baseline Solaris version to 11.4” compiler-team#812 (Zulip)
- “Remove -Zinline-in-all-cgus” compiler-team#814 (Zulip)
- MCPs blocked on unresolved concerns
- “Retire the mailing list and make all decisions on zulip” compiler-team#649 (Zulip)
- concern: automatic-sync
- “setup typos check in CI (for rust repo)” compiler-team#817 (Zulip)
- concern: contributor friction
- “Retire the mailing list and make all decisions on zulip” compiler-team#649 (Zulip)
- Finalized FCPs (disposition merge)
- “Add
--print host-tuple
to print host target tuple” rust#125579 - “make unsupported_calling_conventions a hard error” rust#129935
- “Fix ICE when passing DefId-creating args to legacy_const_generics.” rust#130443
- “Stabilize WebAssembly
multivalue
,reference-types
, andtail-call
target features” rust#131080 - “Lint on combining
#[no_mangle]
and#[export_name]
” rust#131558
- “Add
- Other teams finalized FCPs
- “Add lint against function pointer comparisons” rust#118833
- “Fixup Windows verbatim paths when used with the
include!
macro” rust#125205 - “Allow dropping
dyn Trait
principal” rust#126660 - “atomics: allow atomic and non-atomic reads to race” rust#128778
- “Lint against getting pointers from immediately dropped temporaries” rust#128985
- “Do not consider match/let/ref of place that evaluates to
!
to diverge, disallow coercions from them too” rust#129392 - “Make deprecated_cfg_attr_crate_type_name a hard error” rust#129670
- “Stabilize expr_2021 fragment specifier in all editions” rust#129972
- “Check elaborated projections from dyn don’t mention unconstrained late bound lifetimes” rust#130367
- “Finish stabilization of
result_ffi_guarantees
” rust#130628 - “Stabilize const
ptr::write*
andmem::replace
” rust#130954 - “Stabilize s390x inline assembly” rust#131258
- “Stabilize Arm64EC inline assembly” rust#131781
- “Always display first line of impl blocks even when collapsed” rust#132155
- “rework winnowing to sensibly handle global where-bounds” rust#132325
- “mark is_val_statically_known intrinsic as stably const-callable” rust#132449
- “Fix ICE when multiple supertrait substitutions need assoc but only one is provided” rust#133392
Backport nominations
T-compiler beta / T-compiler stable
- :beta:“Make sure we handle
backwards_incompatible_lint
drops appropriately in drop elaboration” rust#134486- Authored and nominated by compiler-errors (will be reviewed by Niko)
- Fixes a P-critical unsoundness originated in #131326 (doubly freeing memory if Rust 2024 edition is enabled)
- Comment from @_ehuss:
This approach of using MIR to implement the lint means that it does not work with
cargo fix --edition
, because cargo check does not run far enough to reach this. The only way for a user to see this is if they manually enable the lint and run a full build. I’m concerned that almost nobody will do that, making this ineffective. - Nominated since #131326 (the patch the issue originates from) already landed on beta
- :beta:“Bump compiler
cc
to 1.2.5” rust#134505- Authored and nominated by jieyouxu
- upgrade cc-rs from 1.2.0 to 1.2.5 (relevant changes and changelog)
- unblocks fixing other issues (see comment)
- No stable nominations for
T-compiler
this time.
- No beta nominations for
T-types
this time. - No stable nominations for
T-types
this time.
PRs S-waiting-on-team
- “Lint against
&T
to&mut T
and&T
to&UnsafeCell<T>
transmutes” rust#128351- changes were FCP’d by T-lang. Diff is
+1131 -93
, asked PR author is there’s anything they can do to make it easier for us
- changes were FCP’d by T-lang. Diff is
- Issues in progress or waiting on other teams
Issues of Note
Short Summary
- 0 T-compiler P-critical issues
- 59 T-compiler P-high issues
- 0 P-critical, 1 P-high, 0 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, 34 P-high, 100 P-medium, 20 P-low regression-from-stable-to-stable
P-critical
- “Double Drop with #![deny(rust_2024_compatibility)]” rust#134482
- Should be fixed by beta-backport nominated #134486
- No
P-critical
issues forT-types
this time.
P-high regressions
- None
Unassigned P-high nightly regressions
- No unassigned
P-high
nightly regressions this time.
Performance logs
None this week
Nominated Issues
- “Apple: Re-implement SDK discovery instead of using
xcrun
” rust#131433
- No I-compiler-nominated RFCs this time.
Oldest PRs waiting for review
- “add error message for c# style named arguments” rust#118733 (last review activity: 11 months ago)
- cc @Esteban Küber
- “Silence errors in expressions caused by bare traits in paths in 2021 edition” rust#125784 (last review activity: 6 months ago)
- cc: @Esteban Küber for a rebase then cc: @_León Orell Liehr (fmease)
- “[Coverage][MCDC] Do not initialize mcdc parameters for instances containing no mcdc statements” rust#129989
- cc: @Zalathar
- “JumpThreading: fix bitwise not on non-booleans” rust#131203 (last review activity: about 44 days ago)
- cc @cjgillot
- “[macro_metavar_expr_concat] Fix #128346” rust#131522 (last review activity: about 45 days ago)
- cc: @yukang