Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Only invoke
rustup
if running in CI
The script shouldn't need to update `rustfmt` every time it gets run. Additionally, only pass `--check` when in CI so this script can be used for invoking the formatter locally. (backport <rust-lang#4107>) (cherry picked from commit 64ed860)
- Loading branch information