Open spino17 opened 6 months ago
Hi, maybe you can refer to the assembly-script sample in wamr-app-framework repo: https://github.com/bytecodealliance/wamr-app-framework/tree/main/assembly-script
Here it defines Console APIs for console.log
and console.log_number
, which are implemented in:
https://github.com/bytecodealliance/wamr-app-framework/blob/main/assembly-script/wamr_app_lib/console.ts
I build the .wasm binary by following the official link: https://www.assemblyscript.org/getting-started.html#setting-up-a-new-project. My code in
/assembly/index.ts
isor even if I try:
when I try command
iwasm release.wasm
, I am getting the following error: