1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-04 17:54:19 +02:00

Use stable rustfmt (#2168)

This uses the `rustfmt` from the stable toolchain, instead of nightly.
At the moment, nightly's `rustfmt` is nonfunctional, but in general we
don't need bleeding-edge formatting (and in fact, the more often
formatting changes, the more often we'll get spurious failures on PRs,
as we are today).

Fixes #2165.
This commit is contained in:
Dustin J. Mitchell 2024-06-25 04:07:15 -04:00 committed by GitHub
parent 1fb284640e
commit ab5e9006ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@
"command": "yapf3",
"exts": ["py"]
}, {
"command": "rustup run nightly rustfmt --edition 2021",
"command": "rustup run stable rustfmt --edition 2021",
"exts": ["rs"]
}, {
"command": "msgcat -",