aboutsummaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2021-02-20 11:25:15 -0800
committerIan Lance Taylor <iant@golang.org>2021-02-20 19:56:50 +0000
commit03d36d8198428a6970ba01f5de41c264acbff8fc (patch)
tree8fe70c9b2be8547216dc6f6fa6e03e4dc7511831 /src/syscall
parent40656f3a758728276e164ecb48822527a80e5f7b (diff)
downloadgo-03d36d8198428a6970ba01f5de41c264acbff8fc.tar.gz
go-03d36d8198428a6970ba01f5de41c264acbff8fc.zip
syscall: add explicit ios build tag
This permits analysis of the syscall package by tools built with older versions of Go that do not recognize ios as a GOOS. Fixes #44459 Change-Id: I79cec2ffe0dbcbc2dc45a385e556dc9e62033125 Reviewed-on: https://go-review.googlesource.com/c/go/+/294634 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/syscall')
-rw-r--r--src/syscall/ptrace_ios.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/syscall/ptrace_ios.go b/src/syscall/ptrace_ios.go
index 2f61a88a08..5209d1e0dd 100644
--- a/src/syscall/ptrace_ios.go
+++ b/src/syscall/ptrace_ios.go
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build ios
+// +build ios
+
package syscall
// Nosplit because it is called from forkAndExecInChild.