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í 8ea0708bca fail on user packages with build errors early
The added test case would panic, because we would try to hash a name
with a broken package's GarbleActionID, which was empty.

We skipped over all package errors in appendListedPackages because two
kinds of errors were OK in the standard library.
However, this also meant we ignored real errors we should stop at,
because obfuscating those user packages is pointless.

Add more assertions, check for the OK errors explicitly,
and fail on any other error immediately.
Note that, in the process, I also found a bug in cmd/go.

Uncovered by github.com/bytedance/sonic,
whose internal/loader package fails to build on Go 1.20.
2 years ago
..
asm.txtar fail on user packages with build errors early 2 years ago
basic.txtar drop support for Go 1.18.x 2 years ago
cgo.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
crossbuild.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
debugdir.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
embed.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
goenv.txtar drop support for Go 1.18.x 2 years ago
gogarble.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
goversion.txtar drop support for Go 1.18.x 2 years ago
help.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
implement.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
imports.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
init.txtar drop support for Go 1.18.x 2 years ago
ldflags.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
linker.txtar patch and rebuild cmd/link to modify the magic value in pclntab 2 years ago
linkname.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
literals.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
modinfo.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
plugin.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
position.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
reflect.txtar avoid reflect method call panics with GOGARBLE=* 2 years ago
reverse.txtar CI: bump gotip to December 2022 2 years ago
seed-cache.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
seed.txtar make seed.txtar less likely to flake 2 years ago
syntax.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago
test.txtar support `garble test` in main packages 2 years ago
tiny.txtar remove all unexported func names with -tiny via the linker 2 years ago
typeparams.txtar default to GOGARBLE=*, stop using GOPRIVATE 2 years ago