Skip to content

fix: work around release compiler crash in observable deinit#10

Merged
couchdeveloper merged 4 commits into
mainfrom
fixCompilerCrash
May 24, 2026
Merged

fix: work around release compiler crash in observable deinit#10
couchdeveloper merged 4 commits into
mainfrom
fixCompilerCrash

Conversation

@couchdeveloper
Copy link
Copy Markdown
Owner

Summary

  • add @_optimize(none) to EffectObservable's isolated deinit
  • work around a Swift 6.3.2 optimizer crash in release builds
  • keep runtime behavior unchanged while avoiding the failing inliner pass

Validation

  • passed swift build -c release

Compiler crash context

The crash occurred in the SIL optimization pipeline during EarlyPerfInliner
while compiling EffectObservable.deinit.

@couchdeveloper couchdeveloper merged commit 8282966 into main May 24, 2026
1 check passed
@couchdeveloper couchdeveloper deleted the fixCompilerCrash branch May 25, 2026 08:54
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.

1 participant