diff options
Diffstat (limited to 'src/cmd/go/alldocs.go')
-rw-r--r-- | src/cmd/go/alldocs.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index 044e776ec0..0f610ddd9a 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -781,14 +781,14 @@ are: -buildmode=c-archive Build the listed main package, plus all packages it imports, into a C archive file. The only callable symbols will be those - functions marked as exported. Requires exactly one main package - to be listed. + functions marked as exported by the cgo tool. Requires exactly + one main package to be listed. -buildmode=c-shared Build the listed main packages, plus all packages that they import, into C shared libraries. The only callable symbols will - be those functions marked as exported. Non-main packages are - ignored. + be those functions marked as exported by the cgo tool. Non-main + packages are ignored. -buildmode=default Listed main packages are built into executables and listed |