From: Tobias Klauser Date: Mon, 12 Oct 2020 13:47:39 +0000 (+0200) Subject: time: add ios build constraint to zoneinfo_ios.go X-Git-Tag: go1.16beta1~768 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=027367ac50be74ea6237ef88188365125acec8d7;p=gostls13.git time: add ios build constraint to zoneinfo_ios.go This allows to build the time package using a Go version which doesn't know GOOS=ios yet. Change-Id: Ib1b00687432f3309bac8fd8bf5c02b9c62f049a7 Reviewed-on: https://go-review.googlesource.com/c/go/+/261362 Trust: Tobias Klauser Reviewed-by: Cherry Zhang --- diff --git a/src/time/zoneinfo_ios.go b/src/time/zoneinfo_ios.go index 65feb84711..0f1e9334b5 100644 --- a/src/time/zoneinfo_ios.go +++ b/src/time/zoneinfo_ios.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build ios + package time import (