Files
curl-wasm/Makefile
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

16 lines
244 B
Makefile

.PHONY: all build test clean
all: build
build: curl.wasm
curl.wasm: curl.wat
wasm-tools parse curl.wat -o curl.wasm
wasm-tools validate curl.wasm --features component-model
test: build
python3 tests/test_curl.py
clean:
rm -f curl.wasm