]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: mark root_darwin_armx.go as cgo-only
authorRuss Cox <rsc@golang.org>
Thu, 30 Jul 2015 15:08:15 +0000 (11:08 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 30 Jul 2015 15:47:16 +0000 (15:47 +0000)
commitab714a70dcad78e2bd7004638843052343c6f2c4
treea6984518e88fa752b2c76e7e56798f7e366aeebd
parent48b4263efa351e9cf877f7972633419cafac91af
crypto/x509: mark root_darwin_armx.go as cgo-only

This allows running a cross-compile like
GOOS=darwin GOARCH=arm go build std
to check that everything builds.

Otherwise there is a redefinition error because both
root_nocgo_darwin.go and root_darwin_armx.go
supply initSystemRoots.

Change-Id: Ic95976b2b698d28c629bfc93d8dac0048b023578
Reviewed-on: https://go-review.googlesource.com/12897
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/crypto/x509/root_darwin_arm_gen.go
src/crypto/x509/root_darwin_armx.go