]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] reflect: guard abi_test.go with regabiargs build tag
authorCherry Mui <cherryyz@google.com>
Thu, 3 Jun 2021 19:23:22 +0000 (15:23 -0400)
committerCherry Mui <cherryyz@google.com>
Thu, 3 Jun 2021 19:48:38 +0000 (19:48 +0000)
commite9ba0750b63652514bc527690b39fe8b3651ad31
tree8623d2ae1aa6c3938cde8fe4f11aed5324005e0d
parent28bd325e418a0ca1c70a024764aa74e25aacab12
[dev.typeparams] reflect: guard abi_test.go with regabiargs build tag

The test in abi_test.go relies on the compiler to generate
register-ABI calls using a magic name. As of CL 300150 the name
loses its magic. Guard it with regabiargs for the use of
register-ABI calls.

Change-Id: Ib8b3c24f71ea5161d607c9becfb3027ceee40ac1
Reviewed-on: https://go-review.googlesource.com/c/go/+/324767
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/reflect/abi_test.go