Drop the rustup-specific calling in `ci/rustfmt.sh` 2024-04-2761-followups
authorMatt Corallo <git@bluematt.me>
Mon, 22 Apr 2024 13:03:14 +0000 (13:03 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 22 Apr 2024 13:05:53 +0000 (13:05 +0000)
commit6ab91cb43fbaeeb9dbf26b1c1c953373bc9fd4cf
tree5af8c510be6feeaa706180bbc54cd429b802d453
parenteeea0f473e3d9e6f7886f618cb5c3e32e1d48361
Drop the rustup-specific calling in `ci/rustfmt.sh`

The +rustversion call semantics are specific to rustup and do not
work with standard rust toolchains. However, because rustfmt
formatting differs slightly between stable and our 1.63 target, we
need to keep the +1.63.0 for rustup users.

Thus, here, we check for the presence of a `rustup` command and
pass the "+1.63.0" argument if we find one.
ci/rustfmt.sh