]> Cypherpunks repositories - gostls13.git/commitdiff
time: add ios build constraint to zoneinfo_ios.go
authorTobias Klauser <tklauser@distanz.ch>
Mon, 12 Oct 2020 13:47:39 +0000 (15:47 +0200)
committerIan Lance Taylor <iant@golang.org>
Mon, 12 Oct 2020 22:34:47 +0000 (22:34 +0000)
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>
src/time/zoneinfo_ios.go

index 65feb847114c3f412a7d0938ec0d551c63352ab1..0f1e9334b5df5fc40ccdb4b82bad418db1cc3024 100644 (file)
@@ -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 (