]> git.feebdaed.xyz Git - 0xmirror/go.git/commit
runtime/secret: reorganize tests to fix -buildmode=shared
authorDaniel Morsing <daniel.morsing@gmail.com>
Thu, 27 Nov 2025 06:45:20 +0000 (06:45 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 27 Nov 2025 13:54:25 +0000 (05:54 -0800)
commitc079dd13c0b0e977d607cf2775bc2f16dd3d106e
treec02ac63f56d23c8b4a60527c55de41b58e03f188
parent2947cb0469aa89aac70cc6e3968f00f4c625671a
runtime/secret: reorganize tests to fix -buildmode=shared

The testing assembly methods had a linkname that was implicitly
satisfied during the regular build but not there during the shared
build. Fix by moving the testing routine into the package itself.

For good measure, section off the assembly files from the non-experiment
build. Should prevent further build failures as we work on this.

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-linux-arm64-longtest
Change-Id: I2b45668e44641ae7880ff14f6402d982c7eaedd7
Reviewed-on: https://go-review.googlesource.com/c/go/+/724001
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/runtime/secret/asm_amd64.s
src/runtime/secret/asm_arm64.s
src/runtime/secret/stubs.go
src/runtime/secret/testdata/crash.go