only run --all-targets in stage0 for Std#99293
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @jyn514 (or someone else) soon. Please see the contribution instructions for more information. |
When you say didn't have luck, you mean it didn't fix the problem? Or you didn't understand it well enough to write code for it? I think the code should be fairly simple, basically copy those two lines immediately before |
I wasn't sure if it was because I didn't understand it well enough or just that it didn't fix the problem, but I did copy those two lines before builder.ensure(crate::compile::Std::new(compiler, compiler.host));
builder.ensure(crate::compile::Std::new(compiler, target));
cargo.arg("--all-targets");EDIT: |
Is this with or without calling |
|
@rustbot label -S-waiting-on-author +S-waiting-on-review |
|
👍 this seems good to me - it works around the error, and it seems exceedingly rare to want to check std tests compile without actually running them (in stage1, no less). @bors r+ rollup |
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#99156 (`codegen_fulfill_obligation` expect erased regions) - rust-lang#99293 (only run --all-targets in stage0 for Std) - rust-lang#99779 (Fix item info pos and height) - rust-lang#99994 (Remove `guess_head_span`) - rust-lang#100011 (Use Parser's `restrictions` instead of `let_expr_allowed`) - rust-lang#100017 (kmc-solid: Update `Socket::connect_timeout` to be in line with rust-lang#78802) - rust-lang#100037 (Update rustc man page to match `rustc --help`) - rust-lang#100042 (Update books) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Repro'd the issue with
python3 x.py check --stage 1 library/stdand tested the fix with the same command.r? @jyn514
I tried to implement this solution, but didn't have any luck. I don't think I fully understood what needed to be done. However, I would love to be mentored on it since it would be a more correct solution, and I can learn more about how bootstrap works.