-
Notifications
You must be signed in to change notification settings - Fork 386
CONTRIBUTING.md: Use build --stage 1
instead of build --stage 2
#1612
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
Conversation
build --stage 1
instead of build --stage 2
build --stage 1
instead of build --stage 2
in CONTRIBUTING.md
It seems to work fine with `--stage 1` and it should be faster.
build --stage 1
instead of build --stage 2
in CONTRIBUTING.md
build --stage 1
instead of build --stage 2
# This step can take 30 minutes or more. | ||
./x.py build --stage 2 compiler/rustc | ||
./x.py build --stage 1 compiler/rustc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still not sure why compiler/rustc
is necessary, but that's a mystery for another day.
It should be barely any faster, both build rustc exactly twice... the only extra work that So I doubt this actually makes things much faster. |
I tested this, and indeed (to my great surprise) after doing However, after
So this does not actually save any time. But it seems conceptually simpler, so recommending stage 1 still seems like a good idea. |
Co-authored-by: Ralf Jung <[email protected]>
@RalfJung I think I must have thought there was something else to do, but it seems not. Ready to be merged! |
Thanks! @bors r+ |
📌 Commit 6a475c3 has been approved by |
☀️ Test successful - checks-actions |
Improve contributing instructions This builds on the changes from #1612 and should not be merged before. - Fix incorrect comment - Recommend `x.py setup` over manually editing config.toml - Link to rustc-dev-guide
It seems to work fine with
--stage 1
and it should be faster.Cc #1610
Cc @jyn514