-
Notifications
You must be signed in to change notification settings - Fork 13.3k
./x.py test --stage 0 src/libcore
compiles rustc
#52176
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
Comments
Stage 0 tests generally do not seem to work very well -- I can into #52186 also I am also getting errors like
that I "fix" by manually deleting some files from My theory for why it builds the compiler is that it needs rustdoc to generate the doctest binary, and it does not want to / cannot use a "bootstrap rustdoc" so it builds rustc and then rustdoc and then uses that. So maybe |
Actually, testing stage 0 would be really nice to have: Running |
The compiler build definitely happens from the On the plus side, I found out that adding However, stage 0 tests with doctests still seem pretty much broken. Can these even reasonably work without having a "bootstrap rustdoc"? |
I am going to close this in favor of #52186. |
When I do
./x.py build --stage 0 src/libcore
, it just builds libcore with the bootstrap compiler and is done fairly quickly. However, if I want to run the tests using./x.py test --stage 0 src/libcore
, it goes ahead and compiles a stage 0 rustc and does a stage 1 std build and tests that! This takes forever. Seems like stage handling is off when usingtest
?The text was updated successfully, but these errors were encountered: