Disclaimer: not completely sure what's going on here. It appears like Darwin (macOS) behaves differently from Linux when it comes to how cgo symbols are exported (am I even using the correct nomenclature here?).
I played around with compiling in a native architecture (ARM), emulated x64 archicture in Docker and my native architecture in Docker, and this worked for all setups.
Followup from #3
Disclaimer: not completely sure what's going on here. It appears like Darwin (macOS) behaves differently from Linux when it comes to how cgo symbols are exported (am I even using the correct nomenclature here?).
I played around with compiling in a native architecture (ARM), emulated x64 archicture in Docker and my native architecture in Docker, and this worked for all setups.