qiskit/tools/install_rust_msrv.sh

11 lines
287 B
Bash
Executable File

#!/bin/sh
if [ ! -d rust-installer ]; then
mkdir rust-installer
wget https://sh.rustup.rs -O rust-installer/rustup.sh
sh rust-installer/rustup.sh -y -c llvm-tools
rustup default 1.79
rustup component add llvm-tools
rustup uninstall stable
fi
. "$HOME/.cargo/env"