Commit 2e23096
committed
chore: output versions of Rust tools on CI
New mise command: `mise rust:version`
It is run during CI and can also be invoked locally.
It will output something like this:
```
$ mise run rust:version
[rust:version] $ echo "rustc --version = " $(rustc --version)
rustc --version = rustc 1.86.0 (05f9846f8 2025-03-31)
cargo --version = cargo 1.86.0 (adf9b6ad1 2025-02-28)
cargo fmt --version = rustfmt 1.8.0-stable (05f9846f89 2025-03-31)
cargo clippy --version = clippy 0.1.86 (05f9846f89 2025-03-31)
```
Very handy to verify that your local toolchain is the same as CI when
rustfmt is failing the build but is fine locally.1 parent e909fb4 commit 2e23096
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
369 | 370 | | |
370 | 371 | | |
371 | 372 | | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
372 | 382 | | |
373 | 383 | | |
374 | 384 | | |
| |||
0 commit comments