Skip to content

mfournial/rust-faasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Faasm workspace

This is project is for writing Faasm Rust functions.

Both Faasm and faasm-sys are submodules of this project. Make sure you update submodules when cloning (git submodules update --init).

Quick-start

Set up Faasm:

# Start local cluster
./bin/start-faasm.sh

Compile this project (make sure you have the right toolchain, see Rust notes below):

cd workspace
cargo build --target wasm32-unknown-unknown

Upload and run:

./bin/upload.sh
./bin/run.sh

Rust Wasm

To compile to wasm, it's recommended that you have a nightly toolchain set up, i.e.:

rustup update
rustup toolchain install nightly
rustup default nightly
rustup target add wasm32-unknown-unknown --toolchain nightly

Usage

Requirements

Faasm local development

If you have a Faasm local development environment set up (advanced), you can run this project with:

./bin/run-local.sh

About

FFI+Wrapper for Faasm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published