Debian Codegraph @

scripts/wasirun-wrapper

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2 #
3 # Wrapper script for wasirun to be executable by go test -exec
4 #
5
6 whichscip-shell system . . which. wasirun || goscip-shell system . . go. install github.com/stealthrocket/wasi-go/cmd/wasirun@latest
7
8 # Make temp dir for for mapping into wasirun
9 map_dir=$(mktempscip-shell system . . mktemp. -d)
10
11 main_wasm=$1
12 shift
13
14 wasirun --dir=${map_dir} ${main_wasm} -- $*