If we update prepare.sh to require tinygo version 0.34+ (as well as whatever compatible go versions are supported), then we can remove the func main() {} stub we generate as it is no longer needed.
In xtp.toml, we need to then update the build command to include -buildmode c-shared param in the tinygo call.
If we update
prepare.shto requiretinygoversion 0.34+ (as well as whatever compatiblegoversions are supported), then we can remove thefunc main() {}stub we generate as it is no longer needed.In xtp.toml, we need to then update the
buildcommand to include-buildmode c-sharedparam in thetinygocall.