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/scripts
Daniel Martí ed4f91665d
obfuscate syscall again to fix x/sys/unix
When updating Garble to support Go 1.22.0, CI on MacOS spotted
that the syscall package was failing to build given that it uses
assembly code which is only allowed in some std packages.

That allowlist is based on import paths, and we were obfuscating
the syscall package's import path, so that was breaking GOOS=darwin.
As a fix, I added syscall to runtimeAndDeps to not obfuscate it.

That wasn't a great fix; it's not part of runtime and its dependencies,
and there's no reason we should avoid obfuscating the package contents.
Not obfuscating the contents in fact broke x/sys/unix,
as it contains a copy of syscall.Rlimit which it type converted with.

Undo that fix and reinstate the gogarble.txtar syscall test.
Implement the fix where we only leave syscall's import path alone.
Add a regression test, and add a note about adding x/net and x/sys
to check-third-party.sh so that we can catch these bugs earlier.

Fixes #830.
4 months ago
..
cached_modfiles scripts: start checking google.golang.org/protobuf 1 year ago
bench_literals.go scripts: no need for this directory to be a Go package 1 year ago
check-third-party.sh obfuscate syscall again to fix x/sys/unix 4 months ago
crlf-test.sh Include actual count of files with `CRLF` endings found 1 year ago
ensure-copyrights.sh set up an AUTHORS file to attribute copyright 4 years ago
gen-go-std-tables.sh obfuscate syscall again to fix x/sys/unix 4 months ago