-
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
Readme: update section on how to run x.py
#106146
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
r? @jyn514 |
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.
The PowerShell script is actually quite inconvenient to use (and not really unnecessary on the cmd.exe prompt) so I left it out
What do you mean by "inconvenient to use"? The whole point is for it to be convenient so if it doesn't work for you that's a bug we should fix :)
By default, PowerShell will refuse to run any scripts. You need to manually change that. Also the script takes about 1 second to run which is really slow considering how small it is. The python file can simply be executed directly (regardless of whether |
hmm, that seems really strange, but I can replicate it locally. Don't know what could be taking any significant time :/ anyway, we don't need to fix it here. @bors r+ rollup |
…iaskrgr Rollup of 4 pull requests Successful merges: - rust-lang#105515 (Account for macros in const generics) - rust-lang#106146 (Readme: update section on how to run `x.py`) - rust-lang#106150 (Detect when method call on LHS might be shadowed) - rust-lang#106174 (Remove unused empty CSS rules in ayu theme) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
./x.py
currently looks forpython3
(notpython
) in thePATH
. I updated that in the readme and also mentioned a convenient way to runx.py
on Windows. The PowerShell script is actually quite inconvenient to use (and not really necessary on thecmd.exe
prompt) so I left it out.In addition I adapted
./x
in one of the CI scripts.