]> Cypherpunks repositories - gostls13.git/commit
go/build: support Import of local import path in standard library for gccgo
authorIan Lance Taylor <iant@golang.org>
Tue, 25 Sep 2018 22:16:17 +0000 (15:16 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 25 Sep 2018 23:10:02 +0000 (23:10 +0000)
commit699da6bd134c22ac174ec1accae9ae8218f873f7
tree840dbb4e2b6897135c60691071294ad214a55657
parent93ad702251e3b72bb90df5d7c29204e0edef4351
go/build: support Import of local import path in standard library for gccgo

It's possible for a local import path to refer to a standard library
package. This was not being correctly handled for gccgo. When using
gccgo, change the code to permit the existing lexical test, and to
accept a missing directory for a standard package found via a local
impor path.

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