-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
More informative diagnotic from x.py test
attempt atop beta checkout
#83172
More informative diagnotic from x.py test
attempt atop beta checkout
#83172
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
Before:
After:
|
This comment has been minimized.
This comment has been minimized.
oh irony, failing to run the tidy check on this thing that makes it easier to make progress by skipping the tidy check. Oh wait, that's not irony at all. Or rather, its Alanis Morrisette's notion of irony... |
…a checkout without other mods. To be clear, by default running `x.py test` on a checkout of the beta branch currently fails, and with this change will continue to fail, because `x.py tests` runs `x.py test src/tools/tidy` which tries to run `rustfmt` and that will fail because the `rustfmt` binary is pinned to the current nighlty and we do not attempt to distribute one for the beta builds. This change gives a better error message than the current message, which is just "./x.py fmt is not supported on this channel" without providing any hint about what one might do about that problem. (update: placated tidy.)
9400df1
to
d6de60f
Compare
@bors r+ rollup |
📌 Commit d6de60f has been approved by |
Rollup of 10 pull requests Successful merges: - rust-lang#81822 (Added `try_exists()` method to `std::path::Path`) - rust-lang#83072 (Update `Vec` docs) - rust-lang#83077 (rustdoc: reduce GC work during search) - rust-lang#83091 (Constify `copy` related functions) - rust-lang#83156 (Fall-back to sans-serif if Arial is not available) - rust-lang#83157 (No background for code in portability snippets) - rust-lang#83160 (Deprecate RustcEncodable and RustcDecodable.) - rust-lang#83162 (Specify *.woff2 files as binary) - rust-lang#83172 (More informative diagnotic from `x.py test` attempt atop beta checkout) - rust-lang#83196 (Use delay_span_bug instead of panic in layout_scalar_valid_range) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Make bootstrap be more informative when one does
x.py test
on a beta checkout without other mods.To be clear, by default running
x.py test
on a checkout of the beta branchcurrently fails, and with this change will continue to fail, because
x.py tests
runsx.py test src/tools/tidy
which tries to runrustfmt
and thatwill fail because the
rustfmt
binary is pinned to the current nighlty and wedo not attempt to distribute one for the beta builds.
This change gives a better error message than the current message, which is just
"./x.py fmt is not supported on this channel" without providing any hint about
what one might do about that problem.