forked from burrowers/garble
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fail early if we know we lack Go linker patches
Right now, we only have linker patches for Go 1.22.x. We only ever maintain those for one or two major Go versions at a time. If a user tries to use the Go toolchain from 1.21, we already fail with "Go version too old" messages early on, but we don't for 1.23, causing a relatively confusing error later on when we link a binary: cannot get modified linker: cannot retrieve linker patches: open patches/go1.23: file does not exist Instead, fail early and with a good error message.
- Loading branch information
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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