commit | 6d71ab8aade08605ffc36622332264e2f6991952 | [log] [tgz] |
---|---|---|
author | Diogo Pinela <diogoid7400@gmail.com> | Sat Nov 10 12:53:12 2018 +0000 |
committer | Robert Griesemer <gri@golang.org> | Sun Nov 11 00:37:25 2018 +0000 |
tree | 866ca021cf42904cb3f96d3613a1746c7247b518 | |
parent | 92d8274bd7b8a4c65f24bafe401a029e58392704 [diff] |
go/internal/gcimporter: ensure tests pass even if GOROOT is read-only This mainly entails writing compiler output files to a temporary directory, as well as the corrupted files in TestVersionHandling. This is a backport of CL 146119. Fixes golang/go#28644 Change-Id: I5701fe3fda7d6364411eef8265c575c279dbf9a1 Reviewed-on: https://go-review.googlesource.com/c/149017 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.