18 lines
356 B
Bash
Executable File
18 lines
356 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo Setting up Rust dev environment
|
|
|
|
sudo apt install lcov grcov
|
|
|
|
# update with rustup
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y -q
|
|
|
|
# Add source to rustup
|
|
rustup component add rust-src
|
|
|
|
# Add coverage assistance
|
|
rustup component add llvm-tools-preview
|
|
|
|
# Installing Cargo plugins.
|
|
cargo install cargo-cache
|