Skip to content

toyobayashi/wasi-wabt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build wabt to wasm32-wasi with wasi-sdk, and run in browser!

Prerequest:

  • WSL 2 / Linux / macOS
  • CMake
  • wasi-sdk
  • Node.js / npm
export WASI_SDK_PATH=/opt/wasi-sdk
git clone https://github.com/toyobayashi/wasi-wabt
cd wasi-wabt

chmod +x ./fetch.sh
chmod +x ./build.sh
./fetch.sh
./build.sh

npm install
npm start