File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 88
99build-production-wasm :
1010 image :
11- name : paritytech/srtool:1.75.0
11+ # Use srtool image that has the right subwasm fix. The first version with the fix is subwasm 0.17.0, available only with rustc 1.81.0.
12+ name : paritytech/srtool:1.81.0-0.17.0
1213 entrypoint : [""]
1314 stage : build
1415 parallel :
@@ -21,6 +22,8 @@ build-production-wasm:
2122 - export AUTHORIZE_UPGRADE_PREFIX=0x02
2223 - export AUTHORIZE_UPGRADE_CHECK_VERSION=true
2324 - export VERBOSE=true
25+ # Must be in sync with the toolchain file in the project root.
26+ - export RUSTC_VERSION=1.74.0
2427 - cp -r * /build
2528 - /srtool/build build
2629 - subwasm meta --format=json+scale /out/${RUNTIME}_runtime.compact.wasm > /out/${RUNTIME}-metadata.json
Original file line number Diff line number Diff line change 11[toolchain ]
2+ # When changing this, please update the RUSTC_VERSION variable of the `build-production-wasm` Gitlab pipeline.
23channel = " 1.74.0"
34components = [" clippy" , " rust-src" , " rustfmt" ]
45targets = [" wasm32-unknown-unknown" ]
You can’t perform that action at this time.
0 commit comments