forked from Rust-related/RustPython
13 lines
257 B
Bash
13 lines
257 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
cd "$(dirname "$(dirname "$0")")"
|
|
|
|
FEATURES_FOR_WAPM=(stdlib zlib)
|
|
|
|
export BUILDTIME_RUSTPYTHONPATH="/lib/rustpython"
|
|
|
|
cargo build --release --target wasm32-wasip1 --no-default-features --features="${FEATURES_FOR_WAPM[*]}"
|
|
|
|
wapm publish
|