From b7e0eb49d8bb76ea0d98db53beef7209d9bd96d9 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sat, 20 Feb 2021 11:25:15 -0800 Subject: [release-branch.go1.16] 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. For #44459 Fixes #44462 Change-Id: I79cec2ffe0dbcbc2dc45a385e556dc9e62033125 Reviewed-on: https://go-review.googlesource.com/c/go/+/294634 Trust: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Reviewed-by: Brad Fitzpatrick TryBot-Result: Go Bot (cherry picked from commit 03d36d8198428a6970ba01f5de41c264acbff8fc) Reviewed-on: https://go-review.googlesource.com/c/go/+/294635 Reviewed-by: Cherry Zhang --- src/syscall/ptrace_ios.go | 3 +++ 1 file changed, 3 insertions(+) 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. -- cgit v1.2.3-54-g00ecf