diff options
author | Cherry Zhang <cherryyz@google.com> | 2021-03-24 11:02:46 -0400 |
---|---|---|
committer | Cherry Zhang <cherryyz@google.com> | 2021-03-24 15:51:26 +0000 |
commit | 0e31de280f8593dcee2bedb120eb929503785abf (patch) | |
tree | e58b2a5017d27682f47945095d45819e1cd0d0dc /src/math | |
parent | 975b097307621ad32217946f9732d17101d72aaf (diff) | |
download | go-0e31de280f8593dcee2bedb120eb929503785abf.tar.gz go-0e31de280f8593dcee2bedb120eb929503785abf.zip |
math/big: don't require runtime.(*Frame).Next symbol present
I don't know why the test requires runtime.(*Frame).Next symbol
present in the binary under test. I assume it is just some
sanity check? With CL 268479 runtime.(*Frame).Next can be pruned
by the linker. Replace it with runtime.main which should always
be present.
May fix the longtest builders.
Change-Id: Id3104c058b2786057ff58be41b1d35aeac2f3073
Reviewed-on: https://go-review.googlesource.com/c/go/+/304431
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/math')
-rw-r--r-- | src/math/big/link_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/big/link_test.go b/src/math/big/link_test.go index 42f9cefca0..6e33aa5e5e 100644 --- a/src/math/big/link_test.go +++ b/src/math/big/link_test.go @@ -42,7 +42,7 @@ func main() {} if err != nil { t.Fatalf("nm: %v, %s", err, nm) } - const want = "runtime.(*Frames).Next" + const want = "runtime.main" if !bytes.Contains(nm, []byte(want)) { // Test the test. t.Errorf("expected symbol %q not found", want) |