From 5a13f00a9b917e51246a5fbb642c4e9ed55aa21d Mon Sep 17 00:00:00 2001 From: Rens Rikkerink Date: Fri, 23 Feb 2018 16:36:37 +0100 Subject: [PATCH] cmd/cgo: improved formatting & removed whitespace --- src/cmd/cgo/doc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/cgo/doc.go b/src/cmd/cgo/doc.go index 830ee9b4f0680..8375d94c4b752 100644 --- a/src/cmd/cgo/doc.go +++ b/src/cmd/cgo/doc.go @@ -112,8 +112,8 @@ the use of cgo, and to 0 to disable it. The go tool will set the build constraint "cgo" if cgo is enabled. The special import "C" implies the "cgo" build constraint, as though the file also said "// +build cgo". Therefore, if cgo is disabled, files that import -"C" will not be built by the go tool. -(For more about build constraints see https://golang.org/pkg/go/build/#hdr-Build_Constraints). +"C" will not be built by the go tool. (For more about build constraints +see https://golang.org/pkg/go/build/#hdr-Build_Constraints). When cross-compiling, you must specify a C cross-compiler for cgo to use. You can do this by setting the generic CC_FOR_TARGET or the