You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
garble/testdata/script
Daniel Martí 9a2ef369b2 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.
2 years ago
..
asm.txtar drop Go 1.21 and start using go/version 2 years ago
atomic.txtar drop Go 1.21 and start using go/version 2 years ago
basic.txtar drop Go 1.21 and start using go/version 2 years ago
cache.txtar drop Go 1.21 and start using go/version 2 years ago
cgo.txtar drop Go 1.21 and start using go/version 2 years ago
crossbuild.txtar drop Go 1.21 and start using go/version 2 years ago
ctrlflow.txtar drop Go 1.21 and start using go/version 2 years ago
debugdir.txtar drop Go 1.21 and start using go/version 2 years ago
embed.txtar drop Go 1.21 and start using go/version 2 years ago
goenv.txtar drop Go 1.21 and start using go/version 2 years ago
gogarble.txtar obfuscate syscall again to fix x/sys/unix 2 years ago
goversion.txtar fail early if we know we lack Go linker patches 2 years ago
help.txtar drop Go 1.21 and start using go/version 2 years ago
implement.txtar obfuscate syscall again to fix x/sys/unix 2 years ago
imports.txtar drop Go 1.21 and start using go/version 2 years ago
init.txtar drop Go 1.21 and start using go/version 2 years ago
ldflags.txtar drop Go 1.21 and start using go/version 2 years ago
linker.txtar drop Go 1.21 and start using go/version 2 years ago
linkname.txtar drop Go 1.21 and start using go/version 2 years ago
list_error.txtar drop Go 1.21 and start using go/version 2 years ago
literals.txtar drop Go 1.21 and start using go/version 2 years ago
modinfo.txtar drop Go 1.21 and start using go/version 2 years ago
plugin.txtar drop Go 1.21 and start using go/version 2 years ago
position.txtar drop Go 1.21 and start using go/version 2 years ago
reflect.txtar drop Go 1.21 and start using go/version 2 years ago
reverse.txtar drop Go 1.21 and start using go/version 2 years ago
run.txtar drop Go 1.21 and start using go/version 2 years ago
seed-cache.txtar drop Go 1.21 and start using go/version 2 years ago
seed.txtar drop Go 1.21 and start using go/version 2 years ago
syntax.txtar drop Go 1.21 and start using go/version 2 years ago
test.txtar drop Go 1.21 and start using go/version 2 years ago
tiny.txtar drop Go 1.21 and start using go/version 2 years ago
typeparams.txtar drop Go 1.21 and start using go/version 2 years ago