-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
rustfmt Not Downloaded Until Manual x.py fmt
#101306
Comments
@rustbot claim |
Hi @reez12g, have you had time to work on this? Let me know if anything is confusing and I'm happy to help out :) |
@jyn514 Am I correct that this Issue is about "at some point, make sure to automatically download rustfmt"? I think I somehow understood that this Issue is related to this (i.e., no dependence on python scripts?) |
That was the motivation for #97507, right, we want to move all the logic out of the python script eventually.
Not just at some point - it should be done on every invocation of bootstrap (assuming it hasn't been downloaded yet). Right now we only download it when someone runs x.py fmt.
If you look at the PR I linked, it's currently in format.rs - I think moving it a line early to Line 679 in 6115f4e
|
Is this picked up or shall i work on it? @jyn514 |
@zsfVishnu no, @reez12g is already working on it. |
cool |
As of #97507
rustfmt
is not downloaded until the user runsx.py fmt
. The rustc dev guide suggests setting the formatter to the rustfmt that is downloaded for stage0 in the build directory, but that is no longer downloaded with any otherx.py
commands.@jyn514 (sorry for the delay in making this issue)
The text was updated successfully, but these errors were encountered: