From 027367ac50be74ea6237ef88188365125acec8d7 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 12 Oct 2020 15:47:39 +0200 Subject: [PATCH] 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 --- src/time/zoneinfo_ios.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/time/zoneinfo_ios.go b/src/time/zoneinfo_ios.go index 65feb847114..0f1e9334b5d 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 (