RepoJournal
Mobile platforms Mobile platforms
137 wires and counting

$ follow Mobile platforms

Keep up with Mobile platforms in about 3 minutes: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-10-26
stories 16

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

Swift hardens noncopyable closure captures and casting

By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology

Swift's compiler team spent the day closing crash paths in noncopyable and borrowing-capture handling, a cluster of fixes that turns IRGen and SILGen failures into move-checker diagnostics proper.

[Noncopyable Casting] Diagnose a consuming cast from a non-consumable source apple/swift

by tbkka

Patterns like `if let v = h.f as? T`, `guard let`, `while let` and `if case let v as T = h.f` over a non-Copyable class property, global, static, or escaping-closure capture used to crash IRGen; they are now rejected by the move checker as consuming casts from storage that does not permit consumption.

SIL: Don't box a borrowed closure parameter captured by an escaping closure apple/swift

by tshortli

SILGen boxed unannotated closure parameters that the closure's type marks as borrowed, so an escaping closure capturing one crashed the compiler rather than being diagnosed like an explicit `borrowing` parameter. Capture lowering now uses the parameter's lowered ownership instead of its written ownership.

[~Copyable Casting] Allow `as?`/`as!` with a ~Copyable type on either side apple/swift

by tbkka

`as?` and `as!` were previously limited to a non-copyable existential source and a concrete target; the constraints are relaxed so a much wider set of sources and destinations compiles, extending to casts the match-only consumption behavior that `if let`, `if case` and consuming `switch` already got.

Sema: Fix a couple issues with captures of noncopyable closures apple/swift

by tshortli

Capture computation no longer assumes a property has a getter, and captured parameters are not marked consumed unless they can actually be consumed, removing a class of compiler crashes on noncopyable closures.

[Dependency Scanning] Give the scanner a second chance when the incremental scan cache is stale apple/swift

by nkcsgexi

Incremental dependency scanning reused prior results for modules whose inputs looked unchanged, but a cache check could miss edits that preserve an older modification time, and a mismatch with a fresh Clang context hash failed the scan with an "unexpected variant" error. Entries loaded from the prior scan are now marked, giving the scanner a second chance when the only problem is a stale cache.

Quick answers

What shipped in Mobile platforms on October 26, 2026?
Swift's compiler team spent the day closing crash paths in noncopyable and borrowing-capture handling, a cluster of fixes that turns IRGen and SILGen failures into move-checker diagnostics proper. In total, 10 commits and 6 pull requests landed.
Who contributed to Mobile platforms on October 26, 2026?
3 developers shipped this update, including tshortli, tbkka, and nkcsgexi.
What were the notable Mobile platforms updates?
[Noncopyable Casting] Diagnose a consuming cast from a non-consumable source, SIL: Don't box a borrowed closure parameter captured by an escaping closure, and [~Copyable Casting] Allow `as?`/`as!` with a ~Copyable type on either side.