aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/export_linux_test.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2023-06-26 22:34:05 -0400
committerGopher Robot <gobot@golang.org>2023-08-21 20:20:01 +0000
commit01cad815a1c3c48d54b3cbbfc9f599f5f91918fe (patch)
tree9bc13af5c9877d60c2628bab3252ab1cc7928dc6 /src/runtime/export_linux_test.go
parent38a0c5bdb4ab0175a089d907aa62e30f1046816c (diff)
downloadgo-01cad815a1c3c48d54b3cbbfc9f599f5f91918fe.tar.xz
runtime: remove runtime.Add testing function
Replace with unsafe.Add. Change-Id: Ic5c155349dadc51457119b3c05ab717cdfd26c95 Reviewed-on: https://go-review.googlesource.com/c/go/+/521176 Reviewed-by: Michael Knyszek <mknyszek@google.com> Run-TryBot: Austin Clements <austin@google.com> Auto-Submit: Austin Clements <austin@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/export_linux_test.go')
-rw-r--r--src/runtime/export_linux_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/export_linux_test.go b/src/runtime/export_linux_test.go
index 426fd1e109..52afd28666 100644
--- a/src/runtime/export_linux_test.go
+++ b/src/runtime/export_linux_test.go
@@ -11,7 +11,6 @@ const SigeventMaxSize = _sigev_max_size
var NewOSProc0 = newosproc0
var Mincore = mincore
-var Add = add
type Siginfo siginfo
type Sigevent sigevent