]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/testdir: unify link command
authorCherry Mui <cherryyz@google.com>
Sat, 2 Aug 2025 22:06:57 +0000 (18:06 -0400)
committerCherry Mui <cherryyz@google.com>
Wed, 6 Aug 2025 19:27:04 +0000 (12:27 -0700)
commitf53dcb6280a66acb7f6a66d39eaf51e5f0f5698b
treef93cb5c2a8b40641997b6eb81329e2b7811fb624
parenta3895fe9f18682d5055cb68283eba21d7255a67f
cmd/internal/testdir: unify link command

There are three places where we manually construct a "go tool link"
command. Unify them.

Test binaries don't need the symbol table or debug info, so pass
-s -w always.

Change-Id: I40143894172877738e250f291d7e7ef8dce62488
Reviewed-on: https://go-review.googlesource.com/c/go/+/692875
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/internal/testdir/testdir_test.go