Zhangyx24 opened issue #4574:
Test Case
qjs.txt
The qjs.wasm is uploaded as qjs.txt.
This report is related to https://github.com/wasmerio/wasmer/issues/1788Steps to Reproduce
(1)
wasmtime run qjs.wasm
or
(2)wasmtime compile qjs.wasm
andwasmtime run --allow-precompiled qjs.cwasm
Expected Results
Successfully execute the QuickJS engine and print
"QuickJS - Type "\h" for help
qjs > "Actual Results
wasmtime could prints
"QuickJS - Type "\h" for help
qjs > "
but cannot execute any qjs command in the QuickJS
when I input "console.log(new Date())" ,the wasmtime did't print the current date, however other runtime, including wasmer, WAMR could print the current date when executing the QuickJS engine.Versions and Environment
wasmtime 0.38.0
Operating system: macOS10.15 and ubuntu20.04
Zhangyx24 labeled issue #4574:
Test Case
qjs.txt
The qjs.wasm is uploaded as qjs.txt.
This report is related to https://github.com/wasmerio/wasmer/issues/1788Steps to Reproduce
(1)
wasmtime run qjs.wasm
or
(2)wasmtime compile qjs.wasm
andwasmtime run --allow-precompiled qjs.cwasm
Expected Results
Successfully execute the QuickJS engine and print
"QuickJS - Type "\h" for help
qjs > "Actual Results
wasmtime could prints
"QuickJS - Type "\h" for help
qjs > "
but cannot execute any qjs command in the QuickJS
when I input "console.log(new Date())" ,the wasmtime did't print the current date, however other runtime, including wasmer, WAMR could print the current date when executing the QuickJS engine.Versions and Environment
wasmtime 0.38.0
Operating system: macOS10.15 and ubuntu20.04
alexcrichton commented on issue #4574:
I think this is a duplicate of https://github.com/bytecodealliance/wasmtime/issues/4461, so closing.
alexcrichton closed issue #4574:
Test Case
qjs.txt
The qjs.wasm is uploaded as qjs.txt.
This report is related to https://github.com/wasmerio/wasmer/issues/1788Steps to Reproduce
(1)
wasmtime run qjs.wasm
or
(2)wasmtime compile qjs.wasm
andwasmtime run --allow-precompiled qjs.cwasm
Expected Results
Successfully execute the QuickJS engine and print
"QuickJS - Type "\h" for help
qjs > "Actual Results
wasmtime could prints
"QuickJS - Type "\h" for help
qjs > "
but cannot execute any qjs command in the QuickJS
when I input "console.log(new Date())" ,the wasmtime did't print the current date, however other runtime, including wasmer, WAMR could print the current date when executing the QuickJS engine.Versions and Environment
wasmtime 0.38.0
Operating system: macOS10.15 and ubuntu20.04
Zhangyx24 commented on issue #4574:
Thanks a lot !
Last updated: Nov 22 2024 at 17:03 UTC