Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/felixge/go-patch-overlay
WIP
https://github.com/felixge/go-patch-overlay
Last synced: about 2 months ago
JSON representation
WIP
- Host: GitHub
- URL: https://github.com/felixge/go-patch-overlay
- Owner: felixge
- Created: 2021-05-13T14:40:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-13T14:48:22.000Z (over 3 years ago)
- Last Synced: 2024-10-11T15:18:48.706Z (2 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 18
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-patch-overlay
An experimental way to apply patches to the Go runtime at build time.
Assuming you have a directory of [patches](./example/goroutineid/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.