go-patch-overlay icon indicating copy to clipboard operation
go-patch-overlay copied to clipboard

WIP

go-patch-overlay

An experimental way to apply patches to the Go runtime at build time.

Assuming you have a directory of patches to apply to the Go source tree, you can use it like this:

$ go build -overlay="$(go-patch-overlay ./patches)"

This will work for patches aimed at the runtime or stdlib. It won't work for the compiler/linker.