Closed
Description
I was playing with a dev server config and forgot to put python in PATH
, leading to a confusing error message:
PS C:\Users\Chris\rust\rust> x dist
Failed to invoke `C:\Users\Chris\rust\rust\x.py`: program not found
x.py not found. Please run inside of a checkout of `https://github.com/rust-lang/rust`.
PS C:\Users\Chris\rust\rust> ls
Directory: C:\Users\Chris\rust\rust
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 7/23/2022 1:50 PM .github
d---- 7/23/2022 2:27 PM build
d---- 7/23/2022 1:50 PM compiler
d---- 7/23/2022 1:50 PM library
d---- 7/23/2022 1:52 PM src
-a--- 7/23/2022 1:50 PM 417 .editorconfig
-a--- 7/23/2022 1:50 PM 187 .git-blame-ignore-revs
-a--- 7/23/2022 1:50 PM 464 .gitattributes
-a--- 7/23/2022 1:50 PM 1251 .gitignore
-a--- 7/23/2022 1:50 PM 1684 .gitmodules
-a--- 7/23/2022 1:50 PM 28418 .mailmap
-a--- 7/23/2022 1:52 PM 129410 Cargo.lock
-a--- 7/23/2022 1:50 PM 5059 Cargo.toml
-a--- 7/23/2022 1:50 PM 131 CODE_OF_CONDUCT.md
-a--- 7/23/2022 2:27 PM 101 config.toml
-a--- 7/23/2022 1:50 PM 32437 config.toml.example
-a--- 7/23/2022 1:50 PM 292 configure
-a--- 7/23/2022 1:50 PM 2415 CONTRIBUTING.md
-a--- 7/23/2022 1:50 PM 9322 COPYRIGHT
-a--- 7/23/2022 1:50 PM 9723 LICENSE-APACHE
-a--- 7/23/2022 1:50 PM 1023 LICENSE-MIT
-a--- 7/23/2022 1:50 PM 10308 README.md
-a--- 7/23/2022 1:50 PM 582886 RELEASES.md
-a--- 7/23/2022 1:50 PM 1307 rustfmt.toml
-a--- 7/23/2022 1:51 PM 9504 triagebot.toml
-a--- 7/23/2022 1:51 PM 1531 x.py
Metadata
Metadata
Assignees
Labels
Area: Messages for errors, warnings, and lintsCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)