mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-04 09:51:07 +00:00
Require --locked when building runtime (#2813)
* Require --locked when building runtime * Update locks * Do it in a different way * Accidentally reverted Cargo.lock * pass on arguments in build.sh scripts
This commit is contained in:
1 parent
e18dc6d53c
commit
f210557211
9 files changed
+28
-28
No files matched your search
@@ -6,7 +6,7 @@ if cargo --version | grep -q "nightly"; then
|
||||
else
|
||||
CARGO_CMD="cargo +nightly"
|
||||
fi
|
||||
CARGO_INCREMENTAL=0 RUSTFLAGS="-C link-arg=--export-table" $CARGO_CMD build --target=wasm32-unknown-unknown --release
|
||||
CARGO_INCREMENTAL=0 RUSTFLAGS="-C link-arg=--export-table" $CARGO_CMD build --target=wasm32-unknown-unknown --release $@
|
||||
for i in test
|
||||
do
|
||||
wasm-gc target/wasm32-unknown-unknown/release/runtime_$i.wasm target/wasm32-unknown-unknown/release/runtime_$i.compact.wasm
|
||||
|
||||
Reference in new issue
Block a user