Copyright (c) 2022-2025 Antmicro
This repository contains a custom shell implementation that supports the wasm32-wasip1 target; with an extended set of system calls implemented by wasi_ext_lib.
You will need a custom Rust nightly toolchain that builds wasi_ext_lib project. Get the custom Rust compiler by following the intructions in build and Rust library sections. It is required to define WASI_SDK_PATH environment variable.
After completing the previous steps, with the following command you can build wash:
cargo +wasi_extended build --target wasm32-wasip1 --release