...

Text file src/cmd/go/testdata/script/darwin_no_cgo.txt

Documentation: cmd/go/testdata/script

     1# For reproducibility and easier cross-compilation,
     2# nothing in std is supposed to use cgo on macOS.
     3# Check that cgo does not appear as a dependency
     4# of cmd/go, which imports approximately everything
     5# in std (certainly everything relevant).
     6[!GOOS:darwin] skip
     7go list -deps cmd/go
     8! stdout runtime/cgo
     9

View as plain text