Skip to content

Instantly share code, notes, and snippets.

@ueno
Last active September 10, 2020 09:52
Show Gist options
  • Save ueno/3db8d6e6e643c6499447172c259465e2 to your computer and use it in GitHub Desktop.
Save ueno/3db8d6e6e643c6499447172c259465e2 to your computer and use it in GitHub Desktop.
mkdir test
cd test
git clone https://github.com/enarx/enarx-keepldr.git
pushd enarx-keepldr
cargo +nightly build
popd
git clone https://github.com/enarx/client.git
pushd client
cargo +nightly build
cargo +nightly install --path .
popd
git clone -b wip/dueno/wasm-test https://github.com/ueno/enarx-wasmldr.git
pushd enarx-wasmldr
cargo +nightly build
WASM=`find . -name hello_wasi_snapshot1.wasm`
enarx wasm bundle fixtures/bundle/inherit $WASM out.wasm
cp out.wasm $WASM
cargo +nightly build
popd
pushd enarx-keepldr
cargo +nightly run exec ../enarx-wasmldr/target/x86_64-unknown-linux-musl/debug/enarx-wasmldr
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment