Skip to content

Commit

Permalink
pin rustc version
Browse files Browse the repository at this point in the history
  • Loading branch information
TimeToogo committed Aug 15, 2023
1 parent 1743bcd commit 0940443
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tunshell-client/build/install-deps-wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions tunshell-client/build/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

3 changes: 3 additions & 0 deletions tunshell-server/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0940443

Please sign in to comment.