Repository navigation
ci: move the TinyGo gate to 0.42.0 - #909
Merged
Merged
Conversation
1 of 10 tasks
nooga
approved these changes
Sep 19, 2026
nooga
left a comment
Owner
There was a problem hiding this comment.
Clean, minimal TinyGo gate bump (0.41.1 -> 0.42.0) with verification data (differential corpus match, wasm size/build-time deltas). No concerns.
tinygo-wasi-build installed 0.41.1 (released 2026-04-22); 0.42.0 has been out since 2026-09-01, so the gate validated against a toolchain one release behind. 0.42.0 carries tinygo-org/tinygo#5401 (file-level //go:linkname), which removes the x/sys link failure on native darwin — one of the three #547 names. The other two are tinygo-org/tinygo#4794, still open, so native macOS still does not link. Verified on darwin/arm64: the wasi build and boot both succeed, and a 69-case differential corpus is identical to the stdgo runtime and to 0.41.1 despite the LLVM 20.1.1 -> 22.1.4 jump. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
nooga
force-pushed
the
ci/tinygo-042
branch
from
September 19, 2026 22:17
644c43d to
8e84557
Compare
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.
tinygo-wasi-buildinstalls TinyGo 0.41.1, released 2026-04-22. 0.42.0 has been out since 2026-09-01, so the gate has been validating against a toolchain one release behind for the better part of a month. A pinned version is the right call for a gate — this is a bump, not a switch tolatest.What changes for us
0.42.0 carries #5401, which implements file-level
//go:linkname. That removes one of the three link failures on native darwin:The remaining two are tinygo-org/tinygo#4794, still open, so native macOS still does not link and
docs/guide/tinygo.mdstays accurate. #547's planned Darwin work is the thing this affects: the x/sys half of that workaround is already unnecessary on 0.42.0.Verification
On darwin/arm64 with 0.42.0, against the stdgo
lg-runtimeas oracle:tinygo build -target=wasi ./cmd/lg-runtimesucceeds, and the module boots under wasmtime past the reflect shim — the two steps this job runs.Two numbers worth having on record, both from a single local build rather than a controlled measurement:
CI on linux/amd64 is the real check for both; I measured on darwin/arm64.
Not included
0.43 will carry tinygo-org/tinygo#5612, which fixes the
//go:cgo_import_dynamictrampolines that made x/sys calls segfault at runtime on darwin even once they linked. That is the other half of the #547 story and worth a look when 0.43 ships, but it is not in any release yet.🤖 Generated with Claude Code