aboutsummaryrefslogtreecommitdiff
path: root/src/time
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2020-10-12 15:47:39 +0200
committerIan Lance Taylor <iant@golang.org>2020-10-12 22:34:47 +0000
commit027367ac50be74ea6237ef88188365125acec8d7 (patch)
tree560532ed59acdebc961822b94f032af744add1b9 /src/time
parentca3c0df1f8e07337ba4048b191bf905118ebe251 (diff)
downloadgo-027367ac50be74ea6237ef88188365125acec8d7.tar.gz
go-027367ac50be74ea6237ef88188365125acec8d7.zip
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 <tobias.klauser@gmail.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/time')
-rw-r--r--src/time/zoneinfo_ios.go2
1 files changed, 2 insertions, 0 deletions
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 (