]> Cypherpunks repositories - gostls13.git/commitdiff
go/build: improve comment on Context.CgoEnabled
authorGn Shivakumar <shivakumar.gn@gmail.com>
Tue, 31 Jul 2018 00:50:02 +0000 (06:20 +0530)
committerBryan C. Mills <bcmills@google.com>
Mon, 10 Dec 2018 21:40:02 +0000 (21:40 +0000)
Fixes #25953

Change-Id: I4f3a64b42fce76cc5ea6cfe2888d103c7423457d
Reviewed-on: https://go-review.googlesource.com/c/126736
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/go/build/build.go

index 91fe4cfc744a429d5504fb7a4f327e0d4f427252..5e683aef9822f82661c09625a6641a210b4111fc 100644 (file)
@@ -34,7 +34,7 @@ type Context struct {
        GOOS        string // target operating system
        GOROOT      string // Go root
        GOPATH      string // Go path
-       CgoEnabled  bool   // whether cgo can be used
+       CgoEnabled  bool   // whether cgo files are included
        UseAllFiles bool   // use files regardless of +build lines, file names
        Compiler    string // compiler to assume when computing target paths