From eb96173487545fe68ee67ece25c6e34c66148eed Mon Sep 17 00:00:00 2001 From: Bryan Chen Date: Thu, 9 May 2024 16:56:37 +1200 Subject: [PATCH] fix srtool script --- scripts/srtool-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/srtool-build.sh b/scripts/srtool-build.sh index 738882ec45..532912a50c 100755 --- a/scripts/srtool-build.sh +++ b/scripts/srtool-build.sh @@ -5,5 +5,6 @@ set -xe RUSTC_VERSION=`curl -s https://raw.githubusercontent.com/paritytech/srtool/master/RUSTC_VERSION` PACKAGE=$PACKAGE; BUILD_OPTS=$BUILD_OPTS; +PROFILE=$PROFILE -docker run --rm -it -e PACKAGE=$PACKAGE -e BUILD_OPTS="$BUILD_OPTS" -v $PWD:/build -v $TMPDIR/cargo:/cargo-home paritytech/srtool:$RUSTC_VERSION $* +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 $*