make x look for x.py if shell script does not exist#108021
make x look for x.py if shell script does not exist#108021bors merged 1 commit intorust-lang:masterfrom
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
albertlarsan68
left a comment
There was a problem hiding this comment.
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/x775c3c0from Addx.shandx.ps1shell scripts #99992x --helpand it works. Previously, it was giving the errorx.py not found