go: -race requires cgo cgo: C compiler "gcc"

go run -race main.go --action pub
go: -race requires cgo; enable cgo by setting CGO_ENABLED=1

 

not found: exec: "gcc": executable file not found in %PATH%

posted @ 2023-11-27 16:47  papering  阅读(42)  评论(0编辑  收藏  举报