Skip to content

Instantly share code, notes, and snippets.

View jsturtevant's full-sized avatar
💻
right clicking and viewing the source

James Sturtevant jsturtevant

💻
right clicking and viewing the source
View GitHub Profile
@jsturtevant
jsturtevant / cheetsheet.md
Last active December 10, 2024 19:12
Commands for testing wasi in dotnet runtime cheatsheet

build runtime/libraries run a sample project

./build.sh -bl -os wasi -subset mono+libs -c Debug         
./dotnet.sh build /p:TargetOS=wasi /p:Configuration=Debug /t:RunSample src/mono/sample/wasi/wasi-tls/Wasip2.Tls.Console.Sample.csproj

build unit tests for specific library:

@jsturtevant
jsturtevant / README.txt
Last active April 6, 2026 20:56
Hyperlight PyPI sample with self-contained venv and async tool registration
Hyperlight sample using uv
Requires: uv (https://docs.astral.sh/uv/getting-started/installation/)
Run the verified sample with:
bash /tmp/hyperlight-testpypi-sample/run_sample.sh
The sample registers one simple async host tool named `echo` and calls it from
both the Python and JavaScript guests.