Result

WA

Duration

591ms

Code [DL]

(main(result i32)(i32.const 1))

stdin

50 08 21
34 63 01
07 79 12
32 07 91

stdout

stderr

/tmp/code.wat:1:2: error: unexpected token "main", expected a module field or a module.
(main(result i32)(i32.const 1))
 ^^^^
/tmp/code.wat:1:6: error: unexpected token (, expected EOF.
(main(result i32)(i32.const 1))
     ^
fs.js:646
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open '/tmp/code.wasm'
    at Object.fs.openSync (fs.js:646:18)
    at Object.fs.readFileSync (fs.js:551:33)
    at Object.<anonymous> (/root/wasm-cli.js:8:17)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Function.Module.runMain (module.js:676:10)
    at startup (bootstrap_node.js:187:16)
rm: can't remove '/tmp/code.wasm': No such file or directory

strace