Fatal error when running ./x.py test
without .git
directory
#70182
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
When running
./x.py test
without a Git repo (i.e., no.git
directory), I get the following:Apparently this is due to tidy/rustfmt. (Thanks to @Mark-Simulacrum for this suggestion.) So, if I add
--exclude src/tools/tidy
to the command line, it all works. However, it would be nice if it could handle no.git
directory automatically.CC @pnkfelix
The text was updated successfully, but these errors were encountered: