Stream: git-wasmtime

Topic: wasmtime / issue #4574 Failing to run a QuickJS engine ?


view this post on Zulip Wasmtime GitHub notifications bot (Aug 02 2022 at 02:26):

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/1788

Steps to Reproduce

(1)wasmtime run qjs.wasm or
(2)wasmtime compile qjs.wasm and wasmtime 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

view this post on Zulip Wasmtime GitHub notifications bot (Aug 02 2022 at 02:26):

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/1788

Steps to Reproduce

(1)wasmtime run qjs.wasm or
(2)wasmtime compile qjs.wasm and wasmtime 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

view this post on Zulip Wasmtime GitHub notifications bot (Aug 09 2022 at 18:07):

alexcrichton commented on issue #4574:

I think this is a duplicate of https://github.com/bytecodealliance/wasmtime/issues/4461, so closing.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 09 2022 at 18:07):

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/1788

Steps to Reproduce

(1)wasmtime run qjs.wasm or
(2)wasmtime compile qjs.wasm and wasmtime 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

view this post on Zulip Wasmtime GitHub notifications bot (Aug 10 2022 at 01:38):

Zhangyx24 commented on issue #4574:

Thanks a lot !


Last updated: Nov 22 2024 at 17:03 UTC