Skip to content

ostcar/roc-wasi-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roc WASM Platform

roc wasi platform can be used by roc to build wasi modules.

cd examples/helloworld
roc build --target wasm32
wasmtime helloworld.wasm

File example

$ roc build --target=wasm32 examples/file.roc
🔨 Rebuilding platform...
0 errors and 0 warnings found in 227 ms while successfully building:

    examples/file.wasm

$ wasmtime --dir=examples/ examples/file.wasm
SUCCESS opened crash.roc

$ wasmtime --dir=. examples/file.wasm
ERROR unable to file

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages