electrs: keep Rust at v1.37.0

This commit is contained in:
openoms
2019-09-28 21:15:07 +01:00
parent 31bf48794a
commit c63c03e770

View File

@@ -23,6 +23,11 @@ echo "Installing Rust"
echo "***" echo "***"
echo "" echo ""
sudo -u electrs curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sudo -u electrs sh -s -- -y sudo -u electrs curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sudo -u electrs sh -s -- -y
# workaround to keep Rust at v1.37.0
# check with: $ /home/electrs/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/bin/rustc --version
sudo -u electrs /home/electrs/.cargo/bin/rustup install 1.37.0
sudo -u electrs /home/electrs/.cargo/bin/rustup override set 1.37.0
#source $HOME/.cargo/env #source $HOME/.cargo/env
sudo apt update sudo apt update
sudo apt install -y clang cmake # for building 'rust-rocksdb' sudo apt install -y clang cmake # for building 'rust-rocksdb'