Skip to content

tinygo: the config generator page builds again - #5280

Merged
0pcom merged 1 commit into
skycoin:developfrom
0magnet:dmsg-tinygo-serve-stubs
Sep 30, 2026
Merged

0pcom merged 1 commit into
skycoin:developfrom
0magnet:dmsg-tinygo-serve-stubs

Conversation

@0pcom

@0pcom 0pcom commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

The apt-repo's TinyGo page (cmd/wasm, via autoconfigcmd) failed to build against v1.3.98, which blocks publishing the release to the apt mirrors. Three causes:

  • dmsg's js ServeUnifiedQUIC calls ServeQUIC, which TinyGo builds lack — TinyGo gets stubs returning an error.
  • dmsghttp and dmsg/cmdutil import net/http/pprof, which TinyGo 0.42 cannot build under Go 1.27 — registration moves to !tinygo files.
  • pkg/cmdutil read service configs with jsoniter, whose reflect2 links reflect internals TinyGo lacks — encoding/json does the same job.

Verified: the apt-repo page builds with TinyGo 0.42 against this tree (3.1 MB); native build, make build-wasm, tests and lint pass.

The apt-repo's TinyGo page (cmd/wasm, via autoconfigcmd) failed against
v1.3.98 on three things it reaches:
- dmsg's js ServeUnifiedQUIC calls ServeQUIC, which TinyGo builds lack;
  TinyGo now gets stubs that return an error.
- dmsghttp and dmsg/cmdutil import net/http/pprof, which TinyGo 0.42
  cannot build under Go 1.27; registration moves to !tinygo files.
- pkg/cmdutil read service configs with jsoniter, whose reflect2 links
  reflect internals TinyGo lacks; encoding/json does the same job.
@0pcom
0pcom merged commit 82b0217 into skycoin:develop Sep 30, 2026
14 of 17 checks passed
@0pcom 0pcom mentioned this pull request Oct 4, 2026
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