Repository navigation
Draft
Conversation
added 4 commits
November 28, 2026 10:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bundled Wave 4 changes (one clean commit per logical issue):
[]mut Tstages 2–3 (#604) —8d1ecffe5[]mut Tlocal bindings, function return types (checked by §21.1 Rule 6), and slicing mutable arrays/Listunder[]mut Texpected type; keep[]mut Trejected in struct/union fields (§4.8a).[]mut Tbindings, expire dead/reborrowed borrows at final use, and allow disjoint halves from the samesplit_at_mutlineage to coexist while rejecting reads/writes of the source or parent slice while a half is live.split_at_mutonList, arrays, and slices to return([]mut T, []mut T)with COW uniqueness in MIR (MirIntrinsic.SPLIT_AT_MUT) and byte-offset fat pointers in LLVM codegen.leak count=0under--debug-alloc) and updated Stage-1 placeholder tests.One
InternPooland oneAstPoolper compilation (#2523) —95e2887b9AsyncLower,MirBuilder,CCodegen,Codegen,Parser,ResolveState,ComptimeEvaluator) to borrow&AstPool/&InternPoolinstead of cloning handles.Zcu.typed_pool_cachewithtyped_pool_identity: i64, removedZcu.backend_intern/backend_astclones andCodegen.init_with_optthrowaway pool allocations, removedself.ast.clone()inSemaCheckviact_eval_truthy_self, and documented every remaining genuine second-holder.clone()site.#2449andD172clone-call srcallowance lines frombuild/ceremony-allowances.tsv(clone-callinsrcfell60 -> 38,move-arginsrcfell275 -> 267).with migrate:__builtin_alloca/allocaand C11<stdatomic.h>builtins (D259,#955) —6d7047a79docs/meetings/2026-11-28-D259-migrator-alloca-and-c11-atomics.md).__builtin_alloca(n)/alloca(n)to a per-function arena (with_arena_new(4096)+defer: with_arena_free(__ci_alloca)+ 16-byte alignedwith_arena_alloc_aligned) so dynamic and loop allocations keep distinct addresses until function return with zero leaks.ci_atomic_builtin_name,lower_atomic_expr_ir, andlower_value_expr_irto lower C11<stdatomic.h>/__c11_atomic_*operations andatomic_thread_fenceontostd.sync.Atomic[T]andstd.sync.fence.arr[i]->field) insrc/CiPrint.with.test/behavior/behav_955_migrate_alloca_and_c11_atomics.with(verifiedleak count=0under--debug-alloc).Closes #604
Closes #2523
Progress on #955