-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use wasi-crypto as an optionl wasi feature
Signed-off-by: Richard Zak <[email protected]>
- Loading branch information
Showing
11 changed files
with
266 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
[env] | ||
RUST_BACKTRACE = "1" | ||
WASMTIME_BACKTRACE_DETAILS = "1" | ||
|
||
[build] | ||
target = "wasm32-wasi" | ||
|
||
[target.wasm32-wasi] | ||
rustflags = ["--cfg", "tokio_unstable"] | ||
runner = ["wasmtime", "run", "--env", "FD_COUNT=4", "--tcplisten", "0.0.0.0:3000", "--"] | ||
# runner = ["wasmtime", "run", "--env", "FD_COUNT=4", "--tcplisten", "0.0.0.0:3000", "--"] | ||
# Put this back when Enarx is able to receive TCP configuation from the command line. | ||
# runner = ["enarx", "run", "--wasmcfgfile", "Enarx.toml"] | ||
runner = ["/home/rjzak/bin/wasmtime-wasi-crypto", "--wasi-modules", "experimental-wasi-crypto", "--"] |
Oops, something went wrong.