add linker patches for Go 1.23

Rebasing the Go 1.22 patches on top of Go 1.23.0,
as published on https://github.com/burrowers/go-patches/pull/7.

Updates #859.
This commit is contained in:
Daniel Martí
2024-08-31 00:50:12 +01:00
parent 6e35ed3db3
commit 04df5ea4df
5 changed files with 177 additions and 2 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ stderr 'Go version "go1\.14" is too old; please upgrade to go1\.22 or newer'
env GARBLE_TEST_GOVERSION='go1.28.2'
env TOOLCHAIN_GOVERSION='go1.28.2'
! exec garble build
stderr 'Go version "go1\.28\.2" is too new; Go linker patches aren''t available for go1\.23 or later yet'
stderr 'Go version "go1\.28\.2" is too new; Go linker patches aren''t available for go1\.24 or later yet'
# We should accept custom devel strings.
env TOOLCHAIN_GOVERSION='devel go1.22-somecustomversion'