]> Cypherpunks.ru repositories - gostls13.git/commit
reflect: use cgo.Incomplete instead of go:notinheap in tests
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Sun, 7 Aug 2022 16:12:53 +0000 (23:12 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Wed, 31 Aug 2022 01:16:54 +0000 (01:16 +0000)
commitee0e40aaef3dc5c6fb8612dd80622e02fc4b574f
treef28cbdc03d0cd4d38a7085517854fd3cc4ece350
parentbd56cb90a72e6725eddb9622e93a0806c1d1f105
reflect: use cgo.Incomplete instead of go:notinheap in tests

go:notinheap will be replaced by runtime/internal/sys.NotInHeap, and for
longer term, we want to restrict all of its usages inside the runtime
package only.

Updates #46731

Change-Id: I267adc2a19f0dc8a1ed29b5b4aeec1a7dc7318d5
Reviewed-on: https://go-review.googlesource.com/c/go/+/421880
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Keith Randall <khr@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/reflect/all_test.go
src/reflect/deepequal.go
src/reflect/nih_test.go [new file with mode: 0644]
src/reflect/value.go