Skip to content
go-libfossil Check-in [b3680c4757]
Login

Check-in [b3680c4757]

Overview
Comment:Merge pull request #469 from danmestas/feat/tinygo-sync

feat(wasm): build the whole public API with TinyGo

Timelines: family | ancestors | descendants | both | main | trunk
Files: files | file ages | folders
SHA3-256: b3680c47578162fb2adf5d637cd3a553d970f9a293e79f86c5bce34ecd4700bc
User & Date: [email protected] on 2026-10-23 21:42:45.000
Other Links: branch diff | manifest | tags
Context
2026-10-23
22:01
Merge pull request #470 from danmestas/feat/docs-site

docs: rework the site and landing page, generate its facts from the code check-in: 4caaddcd19 user: [email protected] tags: main, trunk

21:43
Merge remote-tracking branch 'origin/main' into feat/docs-site check-in: 9d3f5623ff user: [email protected] tags: main, trunk
21:42
Merge pull request #469 from danmestas/feat/tinygo-sync

feat(wasm): build the whole public API with TinyGo check-in: b3680c4757 user: [email protected] tags: main, trunk

21:25
feat(wasm): build the whole public API with TinyGo

go-libfossil compiled for js/wasm only with the standard toolchain, whose output is about 16 MB, too large to ship with a page or an edge function. Three standard-library features TinyGo lacks kept it from building there: http.ErrUseLastResponse and net.DNSError in the sync client, and os.SameFile in checkout-marker recovery.

Each now sits behind a tinygo build tag. Under TinyGo a sync redirect ends the request with an error instead of being followed, DNS failures are not classified as transient, and two names of one checkout marker are reported as ambiguous rather than paired; the standard build is unchanged.

examples/tinygo exercises the whole public API, sync and signing included. Built with TinyGo 0.43 and wasm-opt -Oz it is 3.83 MB raw and 1.40 MB gzipped, against 16.1 MB and 4.06 MB from the standard toolchain. A new CI job builds it with TinyGo on every change. check-in: 0650171d55 user: [email protected] tags: main, trunk

20:13
Merge pull request #468 from danmestas/feat/signing

feat(signing): sign check-ins and horizon seeds with gpg or ssh check-in: 4a439c6de6 user: [email protected] tags: main, trunk

Changes