x.py commands stopped working when CWD is not the rust.git root directory #48268
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Until somewhat recently I was able to do (for example):
and, after some amount of time downloading bootstrap stuff and compiling tidy (sigh), it would run that command, checking that the source from the checked out directory was indeed tidy.
Likewise, I could use
x.py build
to do a build (where it would use theconfig.toml
in my CWD as the basis for the build, which would be emitted into$(pwd)/build/
).Today, however, after a
git pull
from master bringing myself up to 5570cdc, I can no longer use the above workflow.All of my attempts to run
x.py
from a directory other than the root of the checkout have been met with, for example:This is bad in two ways:
x.py
call only causes a warning to be emitted, while the rest of the command sequence is subsequently run.For me, point 2 is not so so bad, since the command sequence in question is just more calls to
x.py
from that same non-root directory, so they all emit the warning and so I'm likely to notice at least one of them.But for other clients, I can imagine point 2 being quite disasterous.
The text was updated successfully, but these errors were encountered: