We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c6aa9c commit d9f277bCopy full SHA for d9f277b
.cargo/config.toml
@@ -0,0 +1,2 @@
1
+[target.wasm32-wasip1]
2
+runner = ["./scripts/wasmtime-wrapper.sh"]
scripts/wasmtime-wrapper.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3
+cd $SCRIPT_DIR/..
4
+wasmtime run --max-wasm-stack=4194304 --env INSTA_WORKSPACE_ROOT=/ --mapdir "/::$(pwd)" -- "$@"
0 commit comments