faasm-sys 0.0.10

Rust bindings for Faasm.
docs.rs failed to build faasm-sys-0.0.10
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

!travis-ci

Faasm-sys

Rust bindings for Faasm.

Build

Normal mode

Running the following will:

  1. Download faasm libs and store them in vendor
  2. Include the bindings.rs file in vendor in the library
  3. Build the Wasm library
cargo build --target wasm32-unknown-unknown

Local development mode

If you set the FAASM_SYS_DEV environment variable before building, then the build script will fetch libraries according to the Faasm local development defaults. You can then run the test script as well:

env FAASM_SYS_DEV=1 cargo build --target wasm32-unknown-unknown
./bin/test.sh

Note that when used as a submodule of rust-faasm, the target directory is directed one level up.