Files
curl-wasm/curl-wasm
T
Sprite c265fd1adf Add plain WAT WASI 0.2 curl clone (curl-wasm)
Implement a curl clone directly in plain WebAssembly Text format (curl.wat) targeting WASI 0.2 (wasi:cli, wasi:io, wasi:clocks, wasi:filesystem, wasi:http). Includes the executable curl-wasm wrapper script, Makefile, integration test suite (tests/test_curl.py), README.md, and .gitignore.
2026-11-19 22:50:14 +00:00

4 lines
142 B
Bash
Executable File

#!/usr/bin/env sh
SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
exec wasmtime run -S http --dir=. -- "$SCRIPT_DIR/curl.wasm" "$@"