mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
Refactor build scripts.
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Make LLD produce a binary that imports memory from the outside environment.
|
||||
export RUSTFLAGS="-C link-arg=--import-memory"
|
||||
|
||||
cargo +nightly build --target=wasm32-unknown-unknown --release --no-default-features
|
||||
|
||||
for i in basic_add
|
||||
do
|
||||
wasm-gc target/wasm32-unknown-unknown/release/$i.wasm target/wasm32-unknown-unknown/release/$i.compact.wasm
|
||||
done
|
||||
Reference in New Issue
Block a user