#!/usr/bin/env bash
# Usage: copy this file to .git/hooks/
# Exit at first error
# To handle partially committed files, we must copy the staged changes to a
# separate location
# See also https://stackoverflow.com/a/36793330
TEMPDIR=
# keep using the same target/ directory, not a new one in the temporary
# directory this avoids re-parsing everything from scratch every time we run
# the script
GIT_ROOT=
# lint Rust
if ! ; then
fi