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
redesign stage 0 std #119899
base: master
Are you sure you want to change the base?
redesign stage 0 std #119899
Conversation
This comment has been minimized.
This comment has been minimized.
9fcee5c
to
066ce06
Compare
This comment has been minimized.
This comment has been minimized.
066ce06
to
472c50c
Compare
This comment has been minimized.
This comment has been minimized.
ce81474
to
b688ffa
Compare
This comment has been minimized.
This comment has been minimized.
5f1747d
to
00e59f0
Compare
This PR modifies If appropriate, please update |
@rustbot ready r? bootstrap |
00e59f0
to
8ac271c
Compare
@rustbot author (currently stage 2 std is copied from stage 1 and this behaviour should change with the beta std change) |
358f7ee
to
f24855b
Compare
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #120676) made this pull request unmergeable. Please resolve the merge conflicts. |
f24855b
to
78bd646
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #122602) made this pull request unmergeable. Please resolve the merge conflicts. |
On stage 0, rather than compiling std utilize the version from the initial rustc. Theoretically, stage 0 should represent the snapshot version not the compiled one. This makes bootstrapping quicker as well. Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
d558b86
to
f884dec
Compare
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #122754) made this pull request unmergeable. Please resolve the merge conflicts. |
7a8706a
to
f884dec
Compare
…default, r=<try> prefer precompiled rustc for x86_64-gnu *-to be filled-* blocker for rust-lang#119899 r? ghost
…default, r=<try> prefer precompiled rustc for x86_64-gnu *-to be filled-* blocker for rust-lang#119899 r? ghost
…default, r=<try> prefer precompiled rustc for x86_64-gnu *-to be filled-* blocker for rust-lang#119899 r? ghost
@onur-ozkan any updates on this? thanks |
Blocked by #122709 |
This is intended to update bootstrap to use the beta standard library on stage 0, rather than compiling it from source (see the motivation at rust-lang/compiler-team#619).
The only drawback encountered was the requirement of using the stage 1 compiler to build the standard library from source. This issue has been resolved by adding the
--build-std-on-stage0
flag. Therefore if the goal is to only build/test the compiled standard library without spending time on compiling rustc, it can be achieved by runningx build --stage 0 std --build-std-on-stage0
.