-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
make x look for x.py if shell script does not exist #108021
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
Could not assign reviewer from: |
Thanks! Can you also bump the version of x in Cargo.toml so people get a warning if they're using an old version? |
(I need to set up a rustbot ping comment that posts that automatically...) |
No problem! Do i bump it to 0.1.1? or 0.2.0? |
If you could give me some details about your requirements, I could give it a shot! 👍 |
0.1.1 seems fine, in practice tidy is just checking if the version increased or not. |
That would be great, thanks! You'd just add a line around Line 463 in 5348a89
|
add message to update Cargo.toml when x is changed `@jyn514` Is this correct? As mentioned in rust-lang#108021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And you can squash your commits after the changes requested.
Thanks!
bump up x version Refactor code
|
Seems good. |
…iaskrgr Rollup of 10 pull requests Successful merges: - rust-lang#107034 (Migrating rustc_infer to session diagnostics (part 4)) - rust-lang#107972 (Fix unintentional UB in ui tests) - rust-lang#108010 (Make `InferCtxt::can_eq` and `InferCtxt::can_sub` return booleans) - rust-lang#108021 (make x look for x.py if shell script does not exist) - rust-lang#108047 (Use `target` instead of `machine` for mir interpreter integer handling.) - rust-lang#108049 (Don't suggest `#[doc(hidden)]` trait methods with matching return type) - rust-lang#108066 (Better names for illegal impl trait positions) - rust-lang#108076 (rustdoc: Use more let chain) - rust-lang#108088 (clarify correctness of `black_box`) - rust-lang#108094 (Demonstrate I/O in File examples) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #107907
Manually tested by doing the following after changes were made:
cargo install --path src/tools/x
775c3c0
from Addx.sh
andx.ps1
shell scripts #99992x --help
and it works. Previously, it was giving the errorx.py not found