Online RISC-V assembly development tools.
This project is a RISC-V online disassembly website written in Rust WebAssembly and JavaScript.
Rust toolchain including rustup
, rustc
, and cargo
.
Install using rustup(Recommended)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
wasm-pack is your one-stop shop for building, testing, and publishing Rust-generated WebAssembly.
Install on Unix, Linux, MacOS with curl
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
Install from source on Windows and any platform with cargo
cargo install wasm-pack
npm is a package manager for JavaScript.
To set up npm
, nodejs
is required.
Install on Windows with executeable file download from nodejs homepage
Install on Macos with brew
brew install node
Install on Ubuntu with apt
sudo apt install nodejs npm
Or with other system package manager you like
Download the latest source code.
git clone [email protected]:hust-open-atom-club/riscv-online.git
Compile rust code into WebAssembly
cd wasm-riscv-online/www
wasm-pack build
Install JavaScript package
npm install
Start local http server
npm run start
Navigate your Web browser to http://localhost:8080/
.