1
0
mirror of https://github.com/golang/go synced 2024-11-14 08:00:22 -07:00
go/src/internal
Ian Lance Taylor b83ef36d6a go/build: move isStandardPackage to new internal/goroot package
The module code in cmd/go sometimes needs to know whether it is
looking at a standard package, and currently uses gc-specific code for
that. This CL moves the existing isStandardPackage code in the
go/build package, which works for both gc and gccgo, into a new
internal/goroot package so that cmd/go can call it. The changes to
cmd/go will be in a subsequent CL.

Change-Id: Ic1ce4c022a932c6b3e99fa062631577085cc6ecb
Reviewed-on: https://go-review.googlesource.com/137435
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-09-25 22:07:43 +00:00
..
bytealg internal/bytealg: improve performance of IndexByte for ppc64x 2018-09-25 20:25:25 +00:00
cpu runtime: replace sys.CacheLineSize by corresponding internal/cpu const and vars 2018-08-24 18:28:25 +00:00
goroot go/build: move isStandardPackage to new internal/goroot package 2018-09-25 22:07:43 +00:00
nettrace net, net/http: don't trace DNS dials 2016-05-14 00:14:25 +00:00
poll internal/poll: improve Splice comments 2018-09-16 03:22:13 +00:00
race testing: mark tests and benchmarks failed if a race occurs during execution 2016-11-03 18:19:49 +00:00
singleflight net: don't let cancelation of a DNS lookup affect another lookup 2018-03-16 13:39:38 +00:00
syscall internal/syscall/unix: remove unnecessary empty.s 2018-08-28 14:05:21 +00:00
testenv all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
testlog cmd/go: invalidate cached test results if env vars or files change 2017-12-11 19:08:32 +00:00
trace all: fix typos detected by github.com/client9/misspell 2018-08-23 15:54:07 +00:00