Because cgo is used, setting CGO_ENABLED=0 will cause problems, and may not compile successfully
在2023年8月11日星期五 UTC+8 16:11:53<Sebastien Binet> 写道: > Did you try: > > export CGO_ENABLED=0 > go build > > ? > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/a702e250-19ad-4466-adde-fafa7aa5ec06n%40googlegroups.com.