Documentation
Language Guide
Rust
Installation

WASIX installation for Rust

Wasix depends on the rustup toolchain manager. If you don't have rustup installed, you can install it by following the instructions at rust-lang.org (opens in a new tab).

To install the Wasix toolchain for Rust, run the following command:

$ cargo install cargo-wasix

The above command will install four things:

  1. The cargo-wasix command-line tool
  2. The wasix toolchain for rustup
  3. The wasix target for rustup
  4. The wasix target for rustc

Verifying the Installation

Verify that the cargo-wasix command-line tool was installed correctly by

$ cargo wasix --version
cargo-wasix 0.1.17

Check that the wasix toolchain was installed correctly by running:

$ rustup target list | grep wasix
wasix