From: Gn Shivakumar Date: Tue, 31 Jul 2018 00:50:02 +0000 (+0530) Subject: go/build: improve comment on Context.CgoEnabled X-Git-Tag: go1.12beta1~125 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6182d0821c60e2ec4d85e94b5c8e476ca7f75fc6;p=gostls13.git go/build: improve comment on Context.CgoEnabled Fixes #25953 Change-Id: I4f3a64b42fce76cc5ea6cfe2888d103c7423457d Reviewed-on: https://go-review.googlesource.com/c/126736 Reviewed-by: Bryan C. Mills --- diff --git a/src/go/build/build.go b/src/go/build/build.go index 91fe4cfc74..5e683aef98 100644 --- a/src/go/build/build.go +++ b/src/go/build/build.go @@ -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