]> git.lizzy.rs Git - rust.git/commit - compiler/rustc_parse/src/lexer/unicode_chars.rs
Rollup merge of #107048 - DebugSteven:newer-x-check-cargo, r=albertlarsan68
authorMichael Goulet <michael@errs.io>
Sat, 21 Jan 2023 02:33:22 +0000 (21:33 -0500)
committerGitHub <noreply@github.com>
Sat, 21 Jan 2023 02:33:22 +0000 (21:33 -0500)
commitd26c88c75231ab90b522fb061383f8e0156f1f20
tree25afc1d1406b1e089aba16dcc52c8a4107691bfc
parent68b390ae2a099a598bfe44d4ec36ae15159c283f
parent540ca2ff2acf5539868b1f1c156f6c895fdc9ffc
Rollup merge of #107048 - DebugSteven:newer-x-check-cargo, r=albertlarsan68

check for x version updates

This PR adds a check to tidy to assert that the installed version of `x` is equal to the version in `src/tools/x/Cargo.toml`. It checks the installed version of `x` by parsing the output of `cargo install --list` (as an option proposed in this [issue](https://github.com/rust-lang/rust/issues/106469)).

It does not warn if `x` has not yet been installed, on the assumption that the user isn't interested in using it.
Cargo.lock