Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Latest commit

 

History

History
33 lines (23 loc) · 433 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 433 Bytes

http-wasm-guest-rust

guest os

add target

rustup target add wasm32-wasi

build

make build-wasm

server

Server expects that there is a header.wasm file in the root directory of this repository.

make run-server

testing

after wasm is compiled and server is running, it can be tested:

% curl localhost:8090/hello
X-Foo: Hello, World!
User-Agent: curl/8.1.2
Accept: */*