Result

WA

Duration

596ms

Code [DL]

i32.const 0x2000

stdin

04 86 98
07 41 03
43 56 42
62 10 22

stdout

stderr

/tmp/code.wat:1:1: error: unexpected token "i32.const", expected a module field or a module.
i32.const 0x2000
^^^^^^^^^
/tmp/code.wat:1:11: error: unexpected token 0x2000, expected EOF.
i32.const 0x2000
          ^^^^^^
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