From: Russ Cox Date: Thu, 17 Apr 2014 02:30:10 +0000 (-0400) Subject: cmd/go: reapply doc change from CL 60590044. X-Git-Tag: go1.3beta1~36 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6f2d91a094c78165646ddaa0c139191f6943c7d2;p=gostls13.git cmd/go: reapply doc change from CL 60590044. https://golang.org/cl/60590044 edited doc.go without editing the file it is generated from. The edit was lost at the next mkdoc.sh. Make the change in help.go and rerun mkdoc.sh. Pointed out in the review of CL 68580043. TBR=iant CC=golang-codereviews https://golang.org/cl/88760043 --- diff --git a/src/cmd/go/doc.go b/src/cmd/go/doc.go index 664bc83bde..65b68d93bc 100644 --- a/src/cmd/go/doc.go +++ b/src/cmd/go/doc.go @@ -511,8 +511,8 @@ http://swig.org/. When running go build, any file with a .swig extension will be passed to SWIG. Any file with a .swigcxx extension will be passed to SWIG with the -c++ option. -When either cgo or SWIG is used, go build will pass any .c, .s, or .S -files to the C compiler, and any .cc, .cpp, .cxx files to the C++ +When either cgo or SWIG is used, go build will pass any .c, .m, .s, +or .S files to the C compiler, and any .cc, .cpp, .cxx files to the C++ compiler. The CC or CXX environment variables may be set to determine the C or C++ compiler, respectively, to use. diff --git a/src/cmd/go/help.go b/src/cmd/go/help.go index faa4d9af82..0142deee9f 100644 --- a/src/cmd/go/help.go +++ b/src/cmd/go/help.go @@ -19,8 +19,8 @@ http://swig.org/. When running go build, any file with a .swig extension will be passed to SWIG. Any file with a .swigcxx extension will be passed to SWIG with the -c++ option. -When either cgo or SWIG is used, go build will pass any .c, .s, or .S -files to the C compiler, and any .cc, .cpp, .cxx files to the C++ +When either cgo or SWIG is used, go build will pass any .c, .m, .s, +or .S files to the C compiler, and any .cc, .cpp, .cxx files to the C++ compiler. The CC or CXX environment variables may be set to determine the C or C++ compiler, respectively, to use. `,