From 09404431f9f72271ce21c9e6f90eb87749e68623 Mon Sep 17 00:00:00 2001 From: Elliot Levin Date: Tue, 15 Aug 2023 13:23:18 +1000 Subject: [PATCH] pin rustc version --- tunshell-client/build/install-deps-wasm.sh | 2 ++ tunshell-client/build/install-deps.sh | 4 ++++ tunshell-server/test.sh | 3 +++ 3 files changed, 9 insertions(+) diff --git a/tunshell-client/build/install-deps-wasm.sh b/tunshell-client/build/install-deps-wasm.sh index 8ba5fcd..d04c95f 100755 --- a/tunshell-client/build/install-deps-wasm.sh +++ b/tunshell-client/build/install-deps-wasm.sh @@ -3,4 +3,6 @@ set -e curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y +rustup install 1.65.0 +rustup default 1.65.0 curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh \ No newline at end of file diff --git a/tunshell-client/build/install-deps.sh b/tunshell-client/build/install-deps.sh index 7ddfbb3..fda52fe 100755 --- a/tunshell-client/build/install-deps.sh +++ b/tunshell-client/build/install-deps.sh @@ -34,6 +34,10 @@ case "$OSTYPE" in ;; esac +echo "Installing rust version 1.65.0..." +rustup install 1.65.0 +rustup default 1.65.0 + echo "Installing cross..." cargo install cross diff --git a/tunshell-server/test.sh b/tunshell-server/test.sh index 0189288..3e8cc94 100755 --- a/tunshell-server/test.sh +++ b/tunshell-server/test.sh @@ -8,6 +8,9 @@ then curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y fi +rustup install 1.65.0 +rustup default 1.65.0 + export TUNSHELL_API_PORT="3000" export TUNSHELL_RELAY_TLS_PORT="3001" export SQLITE_DB_PATH="$PWD/db.sqlite"