Golang internal assembler for your projects
Find a file
2024-11-23 06:26:22 +01: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.23.0 2024-11-23 06:26:22 +01: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 Go 1.23.0 2024-11-23 06:26:22 +01:00
README.md Go 1.23.0 2024-11-23 06:26:22 +01:00
version.go Go 1.23.0 2024-11-23 06:26:22 +01: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

You can use the ref argument to use a different version than tagged.

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