File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -781,14 +781,14 @@ are:
781
781
-buildmode=c-archive
782
782
Build the listed main package, plus all packages it imports,
783
783
into a C archive file. The only callable symbols will be those
784
- functions marked as exported by the cgo tool . Requires exactly
785
- one main package to be listed.
784
+ functions exported using a cgo //export comment . Requires
785
+ exactly one main package to be listed.
786
786
787
787
-buildmode=c-shared
788
788
Build the listed main packages, plus all packages that they
789
789
import, into C shared libraries. The only callable symbols will
790
- be those functions marked as exported by the cgo tool. Non-main
791
- packages are ignored.
790
+ be those functions exported using a cgo //export comment.
791
+ Non-main packages are ignored.
792
792
793
793
-buildmode=default
794
794
Listed main packages are built into executables and listed
Original file line number Diff line number Diff line change @@ -548,14 +548,14 @@ are:
548
548
-buildmode=c-archive
549
549
Build the listed main package, plus all packages it imports,
550
550
into a C archive file. The only callable symbols will be those
551
- functions marked as exported by the cgo tool . Requires exactly
552
- one main package to be listed.
551
+ functions exported using a cgo //export comment . Requires
552
+ exactly one main package to be listed.
553
553
554
554
-buildmode=c-shared
555
555
Build the listed main packages, plus all packages that they
556
556
import, into C shared libraries. The only callable symbols will
557
- be those functions marked as exported by the cgo tool. Non-main
558
- packages are ignored.
557
+ be those functions exported using a cgo //export comment.
558
+ Non-main packages are ignored.
559
559
560
560
-buildmode=default
561
561
Listed main packages are built into executables and listed
You can’t perform that action at this time.
0 commit comments