commit | 0951661448da9cf57aff69be5f73e57d0c663b38 | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Wed Apr 22 13:45:24 2020 -0400 |
committer | Heschi Kreinick <heschi@google.com> | Wed May 13 17:53:51 2020 +0000 |
tree | b1c41fa9513acf6024ebc34941a50bf1c578649a | |
parent | 866d71a3170affc60e418864a5ae1f850be8161c [diff] |
internal/lsp: use TypecheckCgo when possible When on 1.15+, enable TypecheckCgo. This improves cgo support significantly, but we'll still have trouble with newly-referenced C identifiers and changes to the magic comment. Updates golang/go#35721. Change-Id: I44dc95ce2d91d552e1e66e3722dc4230ab59fedd Reviewed-on: https://go-review.googlesource.com/c/tools/+/229779 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@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.