Golang internal assembler for your projects
Go to file
2024-05-10 06:38:37 +02:00
internal Remove cmd/internal/bio and internal/bisect, add patch file FS 2024-05-10 06:36:50 +02:00
go.mod Go 1.22.3 2024-05-10 06:38:37 +02:00
go.sum Go 1.22.2 assembler 2024-05-10 05:53:07 +02:00
LICENSE Go 1.22.2 assembler 2024-05-10 05:53:07 +02:00
main.go Remove cmd/internal/bio and internal/bisect, add patch file FS 2024-05-10 06:36:50 +02:00
README.md Go 1.22.3 2024-05-10 06:38:37 +02:00
version.go Go 1.22.3 2024-05-10 06:38:37 +02:00

Go assembler generator

A generator of the internal assembler from the Go compiler, with import paths re-written for the assembler to be functional as a standalone library.

Usage

Call it within go generate to produce the output in your tree within a subdirectory.

package assembler

//go:generate go run git.gammaspectra.live/WeebDataHoarder/go-assembler-gen@v{GO_VERSION} -pkg assembler

Go versions

Releases are tagged as go{GO_VERSION} or v{GO_VERSION}.

See version.go to get the default tracked Golang version for this branch.

Other releases other than tracked Golang version are not supported (but might work).

Script adapted and updated from github.com/twitchyliquid64/golang-asm into pure Golang