Skip to content

Fix release build: avoid Swift 6.3 compiler crash in SettingsView - #6

Merged
banstack merged 1 commit into
mainfrom
claude/project-thread-m2bh11
Oct 26, 2026
Merged

banstack merged 1 commit into
mainfrom
claude/project-thread-m2bh11

Conversation

@banstack

Copy link
Copy Markdown
Owner

Requested by Banstack · project thread

The v0.2.0 release run (run 40349959481) failed because the compiler crashed. The runner's toolchain (Xcode 26.6, Swift 6.3.3) aborts in IRGen ("SmallVector unable to grow") while emitting a reabstraction thunk in SettingsView.swift. The thunk comes from passing the main-actor method setOpensAtLogin directly as a Binding setter. The newer toolchain on the Mac compiles the same code without trouble.

The fix wraps the setter in a closure, set: { setOpensAtLogin($0) }. There is no change in behavior.

I triggered the Release workflow by hand on this branch, which builds the DMG without publishing a release, to confirm it now compiles on the runner.


Generated by Claude Code

…ler crash

Passing the main-actor method directly as the Binding setter makes the release
runner's toolchain (Xcode 26.6, Swift 6.3.3) crash in IRGen on the reabstraction
thunk, which failed the v0.2.0 release build.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NcvYKfueoCP2cnLoV7MjKH
@banstack banstack self-assigned this Oct 26, 2026
@banstack
banstack merged commit a419f50 into main Oct 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants