Hi I'm trying to build my project as C so I can call it from Nodejs. But when I run the command "go build -buildmode=c-shared -o keyring.so ." I get a so file but no h C header.
I am running this on Mac M1. I read something about cgo being disabled by default on mac's without the c toolchain but I do have gcc installed so not sure what's up. -- 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/f043923d-1d16-43ae-9376-925dc39ab4b5n%40googlegroups.com.