-
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
Force to use the stage 2 compiler when config.download_rustc is set #108866
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ozkanonur (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
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.
thank you for the fix, please consider suggestion from @albertlarsan68, I will queue the PR after that
can you squash your commits into single commit? |
src/bootstrap/lib.rs
Outdated
/// Tests whether the `compiler` compiling for `target` should be forced to | ||
/// use a stage2 compiler instead. | ||
/// | ||
/// If we use a downloaded, pre-compiled version of rustc it should be forced to | ||
/// use a stage2 compiler. |
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.
/// Tests whether the `compiler` compiling for `target` should be forced to | |
/// use a stage2 compiler instead. | |
/// | |
/// If we use a downloaded, pre-compiled version of rustc it should be forced to | |
/// use a stage2 compiler. | |
/// Checks whether the `compiler` compiling for `target` should be forced to | |
/// use a stage2 compiler instead. | |
/// | |
/// When we download the pre-compiled version of rustc it should be forced to | |
/// use a stage2 compiler. |
…nload_rustc is set
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.
Waiting for CI to be green
@bors r+ rollup |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#108460 (migrate `rustc_hir_analysis` to session diagnostic [Part Two]) - rust-lang#108581 (Add a new config flag, dist.include-mingw-linker.) - rust-lang#108583 (Account for binders correctly when adding default RPITIT method assumption) - rust-lang#108783 (Sync rustc_codegen_gcc 2023/03/04) - rust-lang#108793 (Append to existing `PYTHONPATH` in compiletest instead of overwriting) - rust-lang#108822 (Remove references to PassManagerBuilder) - rust-lang#108866 (Force to use the stage 2 compiler when config.download_rustc is set) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This PR may have caused a failure running tests for some users: #109286
|
Fixes #108768