Stream: git-wasmtime

Topic: wasmtime / issue #7460 CLI command `wast` always produces...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2023 at 17:08):

dhil opened issue #7460:

It seems no matter what file (valid Wast, invalid Wast, existing, non-existing) you feed to wast CLI command it always fails with an instantiation error, e.g.

$ ./target/debug/wasmtime wast foo.wast
thread 'main' panicked at 'error instantiating "spectest": failed to parse WebAssembly module

Caused by:
    Invalid input WebAssembly code at offset 0: magic header not detected: bad magic number', src/commands/wast.rs:33:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The above snippet using the debug build from commit e0bfa7336de20f76048edbdc0157ee637a2c5fea.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2023 at 17:08):

dhil edited issue #7460:

It seems no matter what file (valid Wast, invalid Wast, existing, non-existing) you feed to wast CLI command it always fails with an instantiation error, e.g.

$ ./target/debug/wasmtime wast foo.wast
thread 'main' panicked at 'error instantiating "spectest": failed to parse WebAssembly module

Caused by:
    Invalid input WebAssembly code at offset 0: magic header not detected: bad magic number', src/commands/wast.rs:33:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The above snippet uses the debug build from commit e0bfa7336de20f76048edbdc0157ee637a2c5fea.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 02 2023 at 17:09):

dhil edited issue #7460:

It seems no matter what file (valid Wast, invalid Wast, existing, non-existing) you feed to the wast CLI command, it always fails with an instantiation error, e.g.

$ ./target/debug/wasmtime wast foo.wast
thread 'main' panicked at 'error instantiating "spectest": failed to parse WebAssembly module

Caused by:
    Invalid input WebAssembly code at offset 0: magic header not detected: bad magic number', src/commands/wast.rs:33:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The above snippet uses the debug build from commit e0bfa7336de20f76048edbdc0157ee637a2c5fea.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2023 at 09:28):

dhil closed issue #7460:

It seems no matter what file (valid Wast, invalid Wast, existing, non-existing) you feed to the wast CLI command, it always fails with an instantiation error, e.g.

$ ./target/debug/wasmtime wast foo.wast
thread 'main' panicked at 'error instantiating "spectest": failed to parse WebAssembly module

Caused by:
    Invalid input WebAssembly code at offset 0: magic header not detected: bad magic number', src/commands/wast.rs:33:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The above snippet uses the debug build from commit e0bfa7336de20f76048edbdc0157ee637a2c5fea.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2023 at 09:28):

dhil commented on issue #7460:

This issue seems to have been resolved by #7464.


Last updated: Nov 22 2024 at 16:03 UTC