diff options
| author | Cherry Mui <cherryyz@google.com> | 2026-03-31 13:07:38 -0400 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2026-04-01 11:16:19 -0700 |
| commit | 676dfe4d72c3c05485a6615995eb452e676630e0 (patch) | |
| tree | 83f0e7881445c69460b4d0c17a4697ca79501732 /src/runtime/_mkmalloc | |
| parent | 8d1c4631fa15023156740e3623b294bb5ed8dabf (diff) | |
| download | go-676dfe4d72c3c05485a6615995eb452e676630e0.tar.xz | |
runtime/secret: replace stub reference in test assembly
In runtime/secret's TestCore, it copies some files from the
runtime/secret package to a test main package, including assembly
files. The assembly function references a stub function in Go,
which is also copied. Make it reference the copied one, not the
original one, to avoid cross-package assembly references.
We may want to rewrite the test to avoid copy, e.g. including the
test functions in the test binary itself and having the test
run itself in a subprocess. Leave that for later.
Change-Id: I5187edcc41d1d0469fc6b1b5f2acc60df37e5c1e
Reviewed-on: https://go-review.googlesource.com/c/go/+/761520
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/runtime/_mkmalloc')
0 files changed, 0 insertions, 0 deletions
