lithium 1.0.4

Lightweight exceptions
Documentation
1
2
3
4
5
6
7
8
#!/usr/bin/env bash
export RUSTFLAGS="$RUSTFLAGS -C panic=unwind"
export RUSTDOCFLAGS="$RUSTDOCFLAGS -C panic=unwind"
exec cargo \
    --config "target.'wasm32-wasip1'.runner = ['node', '--no-warnings', '$(dirname "$0")/wasi.mjs', 'preview1']" \
    --config "target.'wasm32-wasip2'.runner = ['node', '--no-warnings', '$(dirname "$0")/wasi.mjs', 'preview2']" \
    -Z build-std=core,std \
    "$@"