From: Cherry Mui Date: Thu, 3 Jun 2021 19:23:22 +0000 (-0400) Subject: [dev.typeparams] reflect: guard abi_test.go with regabiargs build tag X-Git-Tag: go1.18beta1~1818^2^2~430 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e9ba0750b6;p=gostls13.git [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 Run-TryBot: Cherry Mui Reviewed-by: Michael Knyszek TryBot-Result: Go Bot --- diff --git a/src/reflect/abi_test.go b/src/reflect/abi_test.go index 1a2a48b5ed..26e77f14dd 100644 --- a/src/reflect/abi_test.go +++ b/src/reflect/abi_test.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build goexperiment.regabireflect -// +build goexperiment.regabireflect +//go:build goexperiment.regabireflect && goexperiment.regabiargs +// +build goexperiment.regabireflect,goexperiment.regabiargs package reflect_test