tokei/ci/set_rust_version.bash
VeryTastyTomato e608b7d344
fix: shellcheck warnings (#663)
SC2086: Double quote to prevent globbing and word splitting.
SC2162: read without -r will mangle backslashes
2020-11-30 07:56:58 +01:00

5 lines
70 B
Bash
Executable File

#!/usr/bin/env bash
set -e
rustup default "$1"
rustup target add "$2"