The Enarx Keep runtime binary.
It can be used to run a Wasm file with given command-line arguments and environment variables.
$ wat2wasm fixtures/return_1.wat
$ RUST_LOG=enarx_wasmldr=info RUST_BACKTRACE=1 cargo run return_1.wasm
Finished dev [unoptimized + debuginfo] target(s) in 0.07s
Running `target/x86_64-unknown-linux-musl/debug/enarx-wasmldr target/x86_64-unknown-linux-musl/debug/build/enarx-wasmldr-c374d181f6abdda0/out/fixtures/return_1.wasm`
[2020-09-10T17:56:18Z INFO enarx_wasmldr] got result: [
I32(
1,
),
]
On Unix platforms, the command can also read the workload from the file descriptor (3):
$ RUST_LOG=enarx_wasmldr=info RUST_BACKTRACE=1 cargo run 3< return_1.wasm
License: Apache-2.0