Skip to content

Commit

Permalink
crypto/x509: generate new-style build tags for iOS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
josharian committed Oct 26, 2021
1 parent 86f6bf1 commit 80be4a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crypto/x509/root_ios_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80be4a4

Please sign in to comment.