Stream: rust-toolchain

Topic: tokio CI wasm32-unknown-unknown test failures with Rust 1.82


view this post on Zulip Joel Dice (Oct 18 2024 at 14:33):

I was CC'd on this issue but can't repro it locally and don't have enough experience with wasm-bindgen to diagnose it: https://github.com/tokio-rs/tokio/issues/6910. Posting here in case anyone has ideas.

Now we are seeing the test wasm32-unknown-unknown has started to fail. For instance: https://github.com/tokio-rs/tokio/actions/runs/11397298361/job/31712563964#logs Click to see the failure 2024-10...

view this post on Zulip Pat Hickey (Oct 18 2024 at 16:07):

https://blog.rust-lang.org/2024/09/24/webassembly-targets-change-in-default-target-features.html

Empowering everyone to build reliable and efficient software.

view this post on Zulip Pat Hickey (Oct 18 2024 at 16:08):

i'm willing to bet this is because opcodes for multivalue and are in the wasm, and the wasmparser deep down in wasm-bindgen's dep tree isnt configured to support that by default. the latest wasmparser does

view this post on Zulip Pat Hickey (Oct 18 2024 at 16:08):

even wasmtime 24 didnt support rust 1.82 in its default settings, but wasmtime 25 does.

view this post on Zulip Pat Hickey (Oct 18 2024 at 16:09):

@Alex Crichton sound right?

view this post on Zulip Pat Hickey (Oct 18 2024 at 16:09):

er, wait, its not multivalue, its the call_indirect reference types issue alex describes in his blog.

view this post on Zulip Alex Crichton (Oct 20 2024 at 00:43):

Left a comment on the tokio issue for this, but yeah it's a chain of things derivative from +reference-types I think


Last updated: Oct 23 2024 at 20:03 UTC