Stream: contributing

Topic: nix wasm32-unknown-unknown toolchain target


view this post on Zulip Shritesh Bhattarai (Jan 29 2023 at 00:37):

I see that wasm32-unknown-unknown is not included in rust-toolchain.toml as a target. So when I try to run crates/repl_wasm/build-www.sh after doing nix develop, it fails with the wasm32-unknown-unknown target not found. It does work if I manually add the target to the toolchain file.

What is the recommended workflow for this? I'm a noob when it comes to Nix so I may be missing something trivial.

view this post on Zulip Anton (Jan 29 2023 at 08:59):

Can you make a PR for that? Using the rust-toolchain file is the way to go :+1:

view this post on Zulip Shritesh Bhattarai (Jan 29 2023 at 15:13):

PR's up: https://github.com/roc-lang/roc/pull/4983


Last updated: Jul 06 2025 at 12:14 UTC