]> Cypherpunks repositories - gostls13.git/commit
cmd/go: don't check standard packages when using gccgo
authorIan Lance Taylor <iant@golang.org>
Wed, 16 Nov 2016 00:15:05 +0000 (16:15 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 21 Nov 2016 22:06:23 +0000 (22:06 +0000)
commit8d226da29d95d31b6016a669b6da8f1dd52027c2
tree27322ed25be8453fb624a4e054ee18e4057a6ec5
parent1368de3db23ed51992a57cc828c5f14558b4b49f
cmd/go: don't check standard packages when using gccgo

The gccgo compiler does not have the standard packages available, so it
can not check for violations of internal references.

Also, the gccgo compiler can not read runtime/internal/sys/zversion.go;
in fact, the file does not even exist for gccgo.

Change-Id: Ibadf16b371621ad1b87b6e858c5eb233913e179d
Reviewed-on: https://go-review.googlesource.com/33295
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/pkg.go