$ cargo wasix build
error: failed to create process "rustup" "toolchain" "list" "--verbose"
Caused by:
No such file or directory (os error 2)
This is annoying for NixOS users since we typically don't use rustup for managing the Rust toolchain but Nix instead. What should happen instead is that cargo-wasix should try to build, and if it fails to build display a helpful message instead of checking if the toolchain is available beforehand. Message can be something like this:
This is annoying for NixOS users since we typically don't use
rustup
for managing the Rust toolchain but Nix instead. What should happen instead is thatcargo-wasix
should try to build, and if it fails to build display a helpful message instead of checking if the toolchain is available beforehand. Message can be something like this: