Skip to content

Commit

Permalink
cmd/cgo: improved formatting & removed whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ikkerens authored Feb 23, 2018
1 parent 0bf7571 commit 5a13f00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmd/cgo/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a13f00

Please sign in to comment.