Skip to content

libraries/rswasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rswasm

This project shows how to compile a rust library to a wasm library using only cargo.

Compile

The example project is a function that calculates pi.

$ rustup target add wasm32-unknown-unknown
$ cargo build

Run

$ pip install pywasm
$ python script/run.py
# pi = 3.1415926535901733

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published