File tree 1 file changed +4
-3
lines changed
buildscripts/infrastructure/build-nodes/scripts
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
16
16
17
17
# define toolchain version explicitly
18
18
# 'stable' is allowed only for main(master) branch
19
- TOOLCHAIN_VERSION=" stable"
19
+ # https://github.com/rust-lang/rust/issues/112286 for the reason of pinning the version
20
+ TOOLCHAIN_VERSION=" 1.69"
20
21
21
22
DEFAULT_TOOLCHAIN=" ${TOOLCHAIN_VERSION} -x86_64-unknown-linux-gnu"
22
23
DIR_NAME=" rust"
@@ -28,7 +29,7 @@ RUSTUP_HOME="$TARGET_DIR/$DIR_NAME/rustup"
28
29
export RUSTUP_HOME
29
30
30
31
# Increase this to enforce a recreation of the build cache
31
- BUILD_ID=8
32
+ BUILD_ID=9
32
33
33
34
build_package () {
34
35
WORK_DIR=$( mktemp -d)
@@ -49,9 +50,9 @@ build_package() {
49
50
mirrored_download " rustup-init.sh" " https://sh.rustup.rs"
50
51
chmod +x rustup-init.sh
51
52
./rustup-init.sh -y --no-modify-path --default-toolchain " $DEFAULT_TOOLCHAIN "
53
+ ${CARGO_HOME} /bin/rustup update
52
54
${CARGO_HOME} /bin/rustup target add x86_64-unknown-linux-musl
53
55
${CARGO_HOME} /bin/rustup default $TOOLCHAIN_VERSION
54
- ${CARGO_HOME} /bin/rustup update
55
56
# saves space
56
57
rm -rf " $RUSTUP_HOME /toolchains/$DEFAULT_TOOLCHAIN /share/doc/"
57
58
}
You can’t perform that action at this time.
0 commit comments