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.
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.
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.
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.
dhil commented on issue #7460:
This issue seems to have been resolved by #7464.
Last updated: Dec 23 2024 at 12:05 UTC