Skip to content

Commit bde4fc6

Browse files
committed
feat: use wasi-crypto as an optionl wasi feature
Signed-off-by: Richard Zak <[email protected]>
1 parent b096763 commit bde4fc6

File tree

11 files changed

+266
-100
lines changed

11 files changed

+266
-100
lines changed

.cargo/config

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
1+
[env]
2+
RUST_BACKTRACE = "1"
3+
WASMTIME_BACKTRACE_DETAILS = "1"
4+
5+
[build]
6+
target = "wasm32-wasi"
7+
18
[target.wasm32-wasi]
29
rustflags = ["--cfg", "tokio_unstable"]
3-
runner = ["wasmtime", "run", "--env", "FD_COUNT=4", "--tcplisten", "0.0.0.0:3000", "--"]
10+
# runner = ["wasmtime", "run", "--env", "FD_COUNT=4", "--tcplisten", "0.0.0.0:3000", "--"]
411
# Put this back when Enarx is able to receive TCP configuation from the command line.
512
# runner = ["enarx", "run", "--wasmcfgfile", "Enarx.toml"]
13+
runner = ["/home/rjzak/bin/wasmtime-wasi-crypto", "--wasi-modules", "experimental-wasi-crypto", "--"]

0 commit comments

Comments
 (0)