-
Couldn't load subscription status.
- Fork 13.9k
Don't ICE when an extern static is too big for the current architecture #93850
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
Conversation
|
r? @jackh726 (rust-highfive has picked a reviewer for you, use r? to override) |
|
☔ The latest upstream changes (presumably #94174) made this pull request unmergeable. Please resolve the merge conflicts. |
|
r=me after rebase |
354a33d to
aaf68bc
Compare
|
Seems to be a CI failure due to crates.io issues, will try later |
aaf68bc to
62f741c
Compare
62f741c to
75b15c6
Compare
|
@bors r+ |
|
📌 Commit 75b15c6 has been approved by |
…e, r=jackh726 Don't ICE when an extern static is too big for the current architecture Fixes rust-lang#93760 Emit an error instead of ICEing when an `extern` static's size overflows the allowed maximum for the target. Changes the error message in the existing `delay_span_bug` call to the true layout error, first for debugging purposes, but opted to leave in to potentially assist future developers as it was being reached in unexpected ways already.
…askrgr Rollup of 4 pull requests Successful merges: - rust-lang#93850 (Don't ICE when an extern static is too big for the current architecture) - rust-lang#94154 (Wire up unstable rustc --check-cfg to rustdoc) - rust-lang#94353 (Fix debug_assert in unused lint pass) - rust-lang#94366 (Add missing item to release notes) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #93760
Emit an error instead of ICEing when an
externstatic's size overflows the allowed maximum for the target.Changes the error message in the existing
delay_span_bugcall to the true layout error, first for debugging purposes, but opted to leave in to potentially assist future developers as it was being reached in unexpected ways already.