-
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 setup using option "d" (maintainer) is broken in 1.48.0 #79933
Comments
@jyn514 created the directory. |
The fix seems to be
Workaround:
as in my case, I wanted to build from scratch, so config.toml.user were not defaults I wanted to use. |
@maruel your workaround is the same as not running Can you explain why you didn't like the defaults in .user? They were meant for exactly that use case, building from source. |
This does work on master, I think it was fixed in #77400 but never backported. @Mark-Simulacrum what's the policy for source-only backports? Backporting #77400 to 1.48 wouldn't need a point release, just a cherry-pick on the stable branch. |
We do not usually land things onto the stable branch unless we are intending to do a point release (though there's no particular reason why, beyond the fact that the branch is not really meaningful since people should be using the tags for stable checkouts). |
@jyn514 sorry I guess I shouldn't have put my workaround in my comment. I explicitly wanted to build from scratch, and config.toml.user doesn't do that. That's irrelevant to the issue here. re point release: I'm fine with a WontFix here since it was fixed on tip of tree. |
@maruel config.toml.user does do that, I'm confused why you think it doesn't. |
I'm not trying to berate you, just see how I can improve the defaults in .user if they don't match your needs. I think you're the first person to try to use it. |
You are right, I misread https://github.com/rust-lang/rust/blob/master/src/bootstrap/defaults/config.user.toml. |
Since this is fixed in 1.49 and there's no plan to backport a fix to 1.48, I'm going to close this. Feel free to give feedback about the 'maintainer' defaults, but I think belongs in a separate issue. |
Code
Following https://rustc-dev-guide.rust-lang.org/getting-started.html
I expected to see this happen: works
Instead, this happened:
It's because src/bootstrap/defaults/ doesn't contain config.toml.maintainer
Version it worked on
1.47.0 doesn't have
x.py setup
.Version with regression
1.48.0
The text was updated successfully, but these errors were encountered: