https://kotlinlang.org logo
#webassembly
Title
# webassembly
a

Alexander Girke

02/24/2023, 8:38 AM
Just another question: what do I have to do in order to add a function or a value to the WASM exports? I inspected the .wat file and the only exports I could find were “__init” and “memory” .
s

Svyatoslav Kuzmich [JB]

02/24/2023, 8:38 AM
Use @JsExport on top-level functions. Values are not supported at the moment
a

Alexander Girke

02/24/2023, 8:41 AM
Thanks 👍
2 Views