-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Make sure the build.rustc version is either the same or 1 apart #111538
Make sure the build.rustc version is either the same or 1 apart #111538
Conversation
This comment has been minimized.
This comment has been minimized.
I think you need to slap if !builder.dry_run() on this new check. This looks good! r=me if my suggestion fixes the build :) |
This comment has been minimized.
This comment has been minimized.
it turns out we are trying to run a binary of seems those assertions are verifying logic hard-coded in Rust. |
yup that's totally fine! thanks for looking into this :) @bors delegate=chenyukang (use r=jyn514) |
✌️ @chenyukang can now approve this pull request |
This comment has been minimized.
This comment has been minimized.
cf40c22
to
f14ebf0
Compare
This comment has been minimized.
This comment has been minimized.
f14ebf0
to
4648904
Compare
@bors r=jyn514 |
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#108291 (Fix more benchmark test with black_box) - rust-lang#108356 (improve doc test for UnsafeCell::raw_get) - rust-lang#110049 (Don't claim `LocalKey::with` prevents a reference to be sent across threads) - rust-lang#111525 (Stop checking for the absence of something that doesn't exist) - rust-lang#111538 (Make sure the build.rustc version is either the same or 1 apart) - rust-lang#111578 (Move expansion of query macros in rustc_middle to rustc_middle::query) - rust-lang#111584 (Number lexing tweaks) - rust-lang#111587 (Custom MIR: Support `Rvalue::CopyForDeref`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
…67-version-issue, r=jyn514" This reverts commit 9267843, reversing changes made to e52fbff. This breaks our ability to bump the src/version where we're bootstrapping with an older compiler than usual (according to version number). It's not clear whether the intended use case has a clean solution given this constraint, so reverting for now - we can reland with a fix of some kind implemented.
…on-issue, r=jyn514 Make sure the build.rustc version is either the same or 1 apart (revised) rust-lang#111538 is reverted in rust-lang#112023. This PR will only check `build.rustc` to confirm the correct version.
…on-issue, r=jyn514 Make sure the build.rustc version is either the same or 1 apart (revised) rust-lang#111538 is reverted in rust-lang#112023. This PR will only check `build.rustc` to confirm the correct version.
Fixes #110067
r? @jyn514