Closed MagicalTux closed 3 months ago
Whlith which Rust compiler version did you try.to install Wasmi? I have never seen this error before during development. Maybe Wasmi CI should be extended to cover certain missing specs.
After some testing this seems to be linked to rustc
version
By default I was using rustc 1.77.1 (7cf61ebde 2024-03-27) (gentoo)
but upgrading to 1.79.0
allowed me to compile wasmi_cli
successfully
Thanks a lot for the response and the bug report. I will have to see why this occurs in v1.77.1 to eventually close this issue.
Failure in Rust 1.77.1 (and previous versions) occurs while Rust 1.78 compiles fine is due to this change: https://github.com/rust-lang/rust/pull/117614/
I was not aware how new this change actually was. Since Wasmi is pinned to Rust 1.77 we probably want to address this to keep Wasmi compilable with Rust 1.77.
I tried to run
cargo install wasmi_cli
to test this lib but got the following: