]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/x509: generate new-style build tags for iOS
authorJosh Bleecher Snyder <josharian@gmail.com>
Tue, 26 Oct 2021 21:47:07 +0000 (14:47 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 26 Oct 2021 22:05:53 +0000 (22:05 +0000)
Make the input match gofmt's output,
to make our lives easier as we phase out
old style build tags.

Change-Id: I95dc5a77058bf17cb02e289703f60784616db006
Reviewed-on: https://go-review.googlesource.com/c/go/+/358934
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>

src/crypto/x509/root_ios_gen.go

index 05bd672d5d8355a4bb32fd70e64c121edbdf5614..3c98de5bb621a7eee54534eb7f13008a40ad9707 100644 (file)
@@ -164,8 +164,8 @@ func main() {
 const header = `// Code generated by root_ios_gen.go -version %s; DO NOT EDIT.
 // Update the version in root.go and regenerate with "go generate".
 
-// +build ios
-// +build !x509omitbundledroots
+//go:build ios && !x509omitbundledroots
+// +build ios,!x509omitbundledroots
 
 package x509