new(github.com/usbarmory/tamago-go): TamaGo bare-metal Go toolchain#13173
Open
tannevaled wants to merge 1 commit into
Open
new(github.com/usbarmory/tamago-go): TamaGo bare-metal Go toolchain#13173tannevaled wants to merge 1 commit into
tannevaled wants to merge 1 commit into
Conversation
usbarmory/tamago-go is a minimally-patched Go distribution adding GOOS=tamago (execution on bare metal, no OS). With the github.com/usbarmory/tamago framework it builds pure-Go, cgo-free firmware/unikernels for amd64 (incl. UEFI and KVM microVMs), arm, arm64 and riscv64. Built from source from the tamago-goX.Y.Z tags (make.bash), mirroring the go.dev recipe. No provides:/interprets: on purpose — it ships bin/go like go.dev and must not hijack the bare go/gofmt commands; use explicitly via `pkgx +github.com/usbarmory/tamago-go -- env GOOS=tamago ... go build`. bk build + bk audit pass; the packaged toolchain reports go1.26.3 and accepts GOOS=tamago (a vanilla Go rejects that pair). README renders on pkgx.dev. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
What
Adds
github.com/usbarmory/tamago-go: TamaGo, a minimally-patched Go distribution that addsGOOS=tamago— execution on bare metal, with no operating system — on top of upstream Go.Why
With the tamago framework it builds pure-Go, cgo-free firmware/unikernels that run directly on hardware or in VMs — amd64 (Cloud Hypervisor, Firecracker, QEMU microvm, UEFI, GCE), arm, arm64, and riscv64. It tracks upstream Go releases (
tamago-go1.26.3≈ Go 1.26.3).How it's packaged
tamago-goX.Y.Ztags viamake.bash, mirroring thego.devrecipe (bootstrapgo.dev, copy GOROOT).usbarmory/tamago-gotags (striptamago-go).provides:/interprets:on purpose: it shipsbin/golikego.dev, so it must not hijack the barego/gofmtcommands or the.gointerpreter. Used explicitly:tamagoCLI alternative).Verified
bk buildandbk auditpass. The packaged toolchain reportsgo1.26.3and acceptsGOOS=tamago(a vanilla Go rejects that GOOS/GOARCH pair), confirming the TamaGo patches are present.🤖 Generated with Claude Code