I'm building a package that depends on Go's runtime package. Using the 
following compilation flags:

CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64

I get a successful compilation using go1.9.2. After updating to go1.9.4, I 
get the following error and compilation stops:

# runtime
cgo.go:9:3: //go:cgo_export_static main only allowed in cgo-generated code

I'm running on Linux/amd64. Anybody else hitting this error?

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to