Open
Description
TinyGo supports calling a Go function from C in the usual Cgo way of //export
'ing the Go function and adding a C extern
declaration matching the Go function signature. To minimize risk of function and declaration mismatch, the Go standard implementation generates a _cgo_export.h
header file containing all extern
declarations for exported Go functions.
However, TinyGo doesn't seem to offer _cgo_export.h
, which adds friction to using otherwise portable Cgo packages.