Skip to content

compiler: build programs that start goroutines from either branch of an if - #6016

Merged
deadprogram merged 1 commit into
tinygo-org:devfrom
davecheney:davecheney-thinlto-build-crash
Oct 24, 2026
Merged

deadprogram merged 1 commit into
tinygo-org:devfrom
davecheney:davecheney-thinlto-build-crash

Conversation

@davecheney

Copy link
Copy Markdown
Contributor

On targets with automatic stack sizes, starting a goroutine in each branch of an if crashed the build in the ThinLTO bitcode writer.

Fixes #3878.

…an if

On targets with automatic stack sizes, starting a goroutine in each branch
of an if crashed the build in the ThinLTO bitcode writer. Fixes tinygo-org#3878.
@davecheney davecheney modified the milestones: 0.45, 0.44 Oct 24, 2026

@deadprogram deadprogram left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix @davecheney now merging.

@deadprogram
deadprogram merged commit 7c02d0e into tinygo-org:dev Oct 24, 2026
31 checks passed
@davecheney
davecheney deleted the davecheney-thinlto-build-crash branch October 24, 2026 21:02
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.

Issue Using Multiple Goroutines on Pi Pico

2 participants