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í e0dbea2b3d hash structs via the bundled and altered typeutil.hash
As spotted by the protobuf package via check-third-party.sh,
the two structs below are identical:

    type alias1 = int64
    type Struct1 struct { Alias alias1 }

    type alias2 = int64
    type Struct2 struct { Alias alias2 }

Our previous approach with stripStructTags dealt with struct tags,
but it did not deal with aliases, which are now present in go/types
thanks to the new alias tracking.

The new approach properly ignores struct tags and unaliases any
type aliases, resulting in correct hashes of any type.
3 months 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 drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months 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 4 months ago
goversion.txtar rely on go/types alias tracking 3 months ago
help.txtar use the latest testscript to drop func() int 3 months 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 drop Go 1.22 and require Go 1.23.0 or later (#876) 5 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 4 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 drop Go 1.22 and require Go 1.23.0 or later (#876) 5 months ago