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í 2bb1d49874 rely on `go build` stamping a version for local builds
Before Go 1.24, `go build` only stamped module versions for modules
resolved via GOPROXY, as the local module only had VCS information.
For that reason, we manually built a pseudo-version from the VCS
timestamp and revision stamped for local builds.

Go 1.24 started stamping the main module with a module version
derived from the local VCS information, much like we already did.
For example, comparing a clean build before this change
against a build with this uncommitted change:

    $ go install
    $ garble version
    mvdan.cc/garble v0.14.3-0.20250413182748-e97968ccae46
    [...]
    $ git stash pop
    $ go install
    $ garble version
    mvdan.cc/garble v0.14.3-0.20250413182748-e97968ccae46+dirty
    [...]

The only user-visible change is that local builds with any
uncommitted changes now get a `+dirty` suffix, but that's probably
a good thing for the majority of users, and provides a useful hint
in case a user forgot about local changes.

The test logic to inject VCS information via an env var
and see that the resulting pseudo-version is what we expect can go too,
as that was testing our own main module version logic.
We now rely on `go build` to do the right thing, so don't test that.
7 days ago
..
asm.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
atomic.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
basic.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
cache.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
cgo.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
crossbuild.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
ctrlflow.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
debugdir.txtar refuse to delete unknown files with -debugdir 2 weeks ago
embed.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
goenv.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
gogarble.txtar clarify and test that runtime.GOROOT is not available 5 months ago
gotoolchain.txtar make gotoolchain.txtar upgrade to the host's GOVERSION 3 weeks ago
goversion.txtar drop support for Go 1.23 7 days ago
help.txtar rely on `go build` stamping a version for local builds 7 days ago
implement.txtar hash structs via the bundled and altered typeutil.hash 3 months ago
imports.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
init.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
ldflags.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
linker.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
linkname.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
list_error.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
literals.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
modinfo.txtar bump unsupportedGo to mark Go 1.24 as supported 2 months ago
plugin.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
position.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
reflect.txtar obfuscate all names used in reflection 5 months ago
reverse.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
run.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
seed-cache.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
seed.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
syntax.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
test.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
tiny.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago
typeparams.txtar skip all type parameters in recordType 3 months ago