You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The entry file of your WebAssembly module.
export function main(): void {
console.log("Hello, world");
}
or even if I try:
console.log("Hello, world");
when I try command iwasm release.wasm, I am getting the following error:
[13:26:38:790 - 1ED737AC0]: failed to check signature '(i)' and resolve pointer params for import function (env abort)
[13:26:38:818 - 1ED737AC0]: warning: failed to link import function (env, console.log)
[13:26:38:820 - 1ED737AC0]: warning: failed to link import function (env, abort)
#00: 0x0000 - console.log
#01: 0x013e - $f2
WASM module instantiate failed: Exception: failed to call unlinked import function (env, console.log)
The text was updated successfully, but these errors were encountered:
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:The text was updated successfully, but these errors were encountered: