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