Revision control

Copy as Markdown

#!/usr/bin/env bash
#
# This file should not be run directly.
if ! [[ -x "$(command -v rustc)" ]]; then
echo 'Error: The Rust compiler needs to be installed. See https://rustup.rs/ for install instructions.' >&2
exit 1
fi
# Print the rustc version (we don't update it because our CI and official
# builds we will often be pinned on an earlier rust version, but should still
# work OK with later ones.)
rustc --version