ci_install_rust.sh 374 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
# these are required for actix
apt-get update
apt-get install -y libssl-dev pkg-config

# Install rustup (Rust installer and version manager)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y


# Follow the installation prompts, then reload your shell
10
. "$HOME/.cargo/env"
11
12
13
14
source $HOME/.cargo/env

# Verify installation
rustc --version
15
cargo --version