# clone the GitHub repository
git clone https://github.com/gauravgahlot/whisk.git
cd whisk
# build whisk
make
- Create a file with the following content and save it as
hello.wat
:
(module
(func (export "main")
(result i32)
i32.const 1
return))
- Build a WebAssembly module using
wat2wasm
:
wat2wasm hello.wat -o hello.wasm
- Run the module with
whisk
whisk hello.wasm