mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01:02 +00:00
Require --locked on CI for WASM runtime locks (#285)
* Require --locked on CI for WASM runtime locks * Update runtime Cargo.lock * Add quotes
This commit is contained in:
committed by
Bastian Köcher
parent
6473feb687
commit
a5b2c9ab34
Generated
+1
@@ -2425,6 +2425,7 @@ version = "2.0.0"
|
||||
source = "git+https://github.com/paritytech/substrate?branch=polkadot-master#54d028551b11f40266628ceeb35bec0595d360c3"
|
||||
dependencies = [
|
||||
"parity-codec 3.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"sr-primitives 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
|
||||
"sr-std 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
|
||||
"srml-session 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
|
||||
|
||||
@@ -6,7 +6,7 @@ if cargo --version | grep -q "nightly"; then
|
||||
else
|
||||
CARGO_CMD="cargo +nightly"
|
||||
fi
|
||||
RUSTFLAGS="-C link-arg=--export-table" $CARGO_CMD build --target=wasm32-unknown-unknown --release
|
||||
RUSTFLAGS="-C link-arg=--export-table" $CARGO_CMD build --target=wasm32-unknown-unknown --release $@
|
||||
for i in polkadot_runtime
|
||||
do
|
||||
wasm-gc target/wasm32-unknown-unknown/release/$i.wasm target/wasm32-unknown-unknown/release/$i.compact.wasm
|
||||
|
||||
Reference in New Issue
Block a user