Repository navigation
Fix release build: avoid Swift 6.3 compiler crash in SettingsView - #6
Merged
Merged
Conversation
…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
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.
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 methodsetOpensAtLogindirectly as aBindingsetter. 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