1) cgo
$go install test.go # command-line-arguments /usr/bin/ld: unrecognized option ‘--build-id=none‘ /usr/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status
https://github.com/golang/go/issues/9520
时间: 2024-11-09 16:32:34