After fooling around a bit, we finally could get a simple Kotlin program to export the entry point we needed (using the annotations to keep and export the symbol didn't seem to really do what we hoped for tho). That's also working around the WASI expected functions to pretend they are there, not a big deal, but we'd rather not have the whole JS interop part of our modules… These are expect to be lightweight functions (think FaaS, loaded as dyn libs effectively).
Are we looking at Kotlin Native's support for Wasm in a too early stage? Or are we just looking at the wrong set of documentation? Or source code? Anyone can point us to either where we could find something to help ourselves, or if what we're trying to do is just not a real option right now using Kotlin? We'll keep on giving it a spin tomorrow, but any pointers would be greatly appreciated.