Skip to content

Commit eb96173

Browse files
committed
fix srtool script
1 parent dd7f6d2 commit eb96173

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: scripts/srtool-build.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ set -xe
55
RUSTC_VERSION=`curl -s https://raw.githubusercontent.com/paritytech/srtool/master/RUSTC_VERSION`
66
PACKAGE=$PACKAGE;
77
BUILD_OPTS=$BUILD_OPTS;
8+
PROFILE=$PROFILE
89

9-
docker run --rm -it -e PACKAGE=$PACKAGE -e BUILD_OPTS="$BUILD_OPTS" -v $PWD:/build -v $TMPDIR/cargo:/cargo-home paritytech/srtool:$RUSTC_VERSION $*
10+
docker run --rm -it -e WASM_BUILD_STD=0 -e PROFILE=$PROFILE -e PACKAGE=$PACKAGE -e BUILD_OPTS="$BUILD_OPTS" -v $PWD:/build -v $TMPDIR/cargo:/cargo-home paritytech/srtool:$RUSTC_VERSION $*

0 commit comments

Comments
 (0)