]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: exclude external test packages from FIPS scope
authorRuss Cox <rsc@golang.org>
Thu, 14 Nov 2024 18:37:38 +0000 (13:37 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 18 Nov 2024 16:43:44 +0000 (16:43 +0000)
commit61790207f52fb594aeb5cd71c1ef62051bc177f9
treef4934122b74e7106a755dc5a5885ad8378e8c99b
parente64f7ef03fdfa1c0d847c21b16c9302cc824e79b
cmd/internal/obj: exclude external test packages from FIPS scope

Excluding external test packages allows them to use
//go:embed, which requires data relocations in data.
(Obviously the external test code is testing the FIPS module,
not part of it, so this is reasonable.)

Change-Id: I4bae71320ccb5faf718c045540a9ba6dd93e378f
Reviewed-on: https://go-review.googlesource.com/c/go/+/628735
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/internal/obj/fips.go