config.scripts: use stable toolchain by default when installing/updating electrs (#5174)

This commit is contained in:
Marin Atanasov Nikolov
2025-11-10 17:10:46 +02:00
committed by GitHub
parent 463ce18643
commit 76a94e3b37

View File

@@ -306,7 +306,7 @@ if [ "$1" = "install" ]; then
echo "# Installing Rust for the electrs user" echo "# Installing Rust for the electrs user"
echo echo
# https://github.com/romanz/electrs/blob/master/doc/usage.md#build-dependencies # https://github.com/romanz/electrs/blob/master/doc/usage.md#build-dependencies
sudo -u electrs curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sudo -u electrs sh -s -- --default-toolchain none -y sudo -u electrs curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sudo -u electrs sh -s -- --default-toolchain stable -y
sudo apt install -y clang cmake build-essential # for building 'rust-rocksdb' sudo apt install -y clang cmake build-essential # for building 'rust-rocksdb'
echo echo
@@ -608,7 +608,7 @@ if [ "$1" = "update" ]; then
"${PGPsigner}" "${PGPpubkeyLink}" "${PGPpubkeyFingerprint}" "${updateVersion}" || exit 1 "${PGPsigner}" "${PGPpubkeyLink}" "${PGPpubkeyFingerprint}" "${updateVersion}" || exit 1
echo "# Installing build dependencies" echo "# Installing build dependencies"
sudo -u electrs curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sudo -u electrs sh -s -- --default-toolchain none -y sudo -u electrs curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sudo -u electrs sh -s -- --default-toolchain stable -y
sudo apt install -y clang cmake build-essential # for building 'rust-rocksdb' sudo apt install -y clang cmake build-essential # for building 'rust-rocksdb'
echo echo