-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
x.py commands stopped working when CWD is not the rust.git root directory #48268
Comments
(bisecting. Initial report: this worked, at least for running |
@pnkfelix your |
@pnkfelix I'm going to close this because it works for me and I think I remember you saying you use this command pretty often today - feel free to reopen if you're still having trouble. |
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: