-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check for x version updates #107048
check for x version updates #107048
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
The code itself works, but it is never called. Here is the patch that got me to get it to work: https://gist.github.com/albertlarsan68/bd298307c84efbfcc2ee2edfd50b2ba5 |
Hey, thank you for catching that. This commit was originally continuing off of this branch & I forgot to pull over the rest of the changes. There was one other change I made on that branch that I moved over as well, but otherwise I did almost exactly what you wrote. I previously tested this change by running For the other change I moved over, the |
One remaining concern I have is: should any of this code be using |
Thanks for your PR! |
d4e0eb6
to
540ca2f
Compare
@rustbot ready |
Thanks! |
@albertlarsan68, for reference, I think this can be marked as maybe. |
…mpiler-errors Rollup of 9 pull requests Successful merges: - rust-lang#104154 (Change `bindings_with_variant_name` to deny-by-default) - rust-lang#104347 (diagnostics: suggest changing `s@self::{macro}`@::macro`` for exported) - rust-lang#104672 (Unify stable and unstable sort implementations in same core module) - rust-lang#107048 (check for x version updates) - rust-lang#107061 (Implement some more new solver candidates and fix some bugs) - rust-lang#107095 (rustdoc: remove redundant CSS selector `.sidebar .current`) - rust-lang#107112 (Fix typo in opaque_types.rs) - rust-lang#107124 (fix check macro expansion) - rust-lang#107131 (rustdoc: use CSS inline layout for radio line instead of flexbox) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This PR adds a check to tidy to assert that the installed version of
x
is equal to the version insrc/tools/x/Cargo.toml
. It checks the installed version ofx
by parsing the output ofcargo install --list
(as an option proposed in this issue).It does not warn if
x
has not yet been installed, on the assumption that the user isn't interested in using it.