Don't require eh_personality lang item on targets that have a personality#143893
Open
ChrisDenton wants to merge 1 commit intorust-lang:mainfrom
Open
Don't require eh_personality lang item on targets that have a personality#143893ChrisDenton wants to merge 1 commit intorust-lang:mainfrom
eh_personality lang item on targets that have a personality#143893ChrisDenton wants to merge 1 commit intorust-lang:mainfrom
Conversation
Some targets already have personality
Collaborator
Member
Author
|
This is a bit of both compiler and libs but I think it's more compiler (as the libs changes trivially follow from the compiler ones) so... r? compiler |
compiler-errors
approved these changes
Jul 13, 2025
Contributor
|
r? compiler-errors @bors r+ rollup |
Collaborator
fmease
added a commit
to fmease/rust
that referenced
this pull request
Jul 14, 2025
…l, r=compiler-errors Don't require `eh_personality` lang item on targets that have a personality MSVC and wasm have personalities of their own so Rust's personality function is never called. The removed library comment has some more details.
bors
added a commit
that referenced
this pull request
Jul 14, 2025
Rollup of 16 pull requests Successful merges: - #142885 (core: Add `BorrowedCursor::with_unfilled_buf`) - #143217 (Port #[link_ordinal] to the new attribute parsing infrastructure) - #143355 (wrapping shift: remove first bitmask and table) - #143448 (remote-test-client: Exit code `128 + <signal-number>` instead of `3`) - #143592 (UWP: link ntdll functions using raw-dylib) - #143681 (bootstrap/miri: avoid rebuilds for test builds) - #143710 (Updates to random number generation APIs) - #143724 (Tidy cleanup) - #143820 (Fixed a core crate compilation failure when enabling the `optimize_for_size` feature on some targets) - #143850 (Compiletest: Simplify {Html,Json}DocCk directive handling) - #143855 (Port `#[omit_gdb_pretty_printer_section]` to the new attribute parsing) - #143868 (warn on align on fields to avoid breaking changes) - #143875 (update issue number for `const_trait_impl`) - #143881 (Use zero for initialized Once state) - #143887 (Run bootstrap tests sooner in the `x test` pipeline) - #143893 (Don't require `eh_personality` lang item on targets that have a personality) Failed merges: - #143878 (Port `#[pointee]` to the new attribute parsing infrastructure) - #143891 (Port `#[coverage]` to the new attribute system) r? `@ghost` `@rustbot` modify labels: rollup
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Jul 14, 2025
…l, r=compiler-errors Don't require `eh_personality` lang item on targets that have a personality MSVC and wasm have personalities of their own so Rust's personality function is never called. The removed library comment has some more details.
bors
added a commit
that referenced
this pull request
Jul 14, 2025
Rollup of 17 pull requests Successful merges: - #142885 (core: Add `BorrowedCursor::with_unfilled_buf`) - #143217 (Port #[link_ordinal] to the new attribute parsing infrastructure) - #143355 (wrapping shift: remove first bitmask and table) - #143448 (remote-test-client: Exit code `128 + <signal-number>` instead of `3`) - #143681 (bootstrap/miri: avoid rebuilds for test builds) - #143710 (Updates to random number generation APIs) - #143724 (Tidy cleanup) - #143738 (Move several float tests to floats/mod.rs) - #143820 (Fixed a core crate compilation failure when enabling the `optimize_for_size` feature on some targets) - #143850 (Compiletest: Simplify {Html,Json}DocCk directive handling) - #143855 (Port `#[omit_gdb_pretty_printer_section]` to the new attribute parsing) - #143868 (warn on align on fields to avoid breaking changes) - #143875 (update issue number for `const_trait_impl`) - #143881 (Use zero for initialized Once state) - #143887 (Run bootstrap tests sooner in the `x test` pipeline) - #143893 (Don't require `eh_personality` lang item on targets that have a personality) - #143901 (Region constraint nits) Failed merges: - #143878 (Port `#[pointee]` to the new attribute parsing infrastructure) - #143891 (Port `#[coverage]` to the new attribute system) r? `@ghost` `@rustbot` modify labels: rollup
Member
|
Could this have caused the rollup failure (#143916) on ------------------------------------------
error: `#[panic_handler]` function required, but not found
error: aborting due to 1 previous error
------------------------------------------
failures:
[ui] tests\ui\extern-flag\empty-extern-arg.rs
[ui] tests\ui\extern-flag\no-force-extern.rs
[ui] tests\ui\no_std\no-std-unwind-binary.rs
[ui] tests\ui\panic-handler\weak-lang-item.rs
[ui] tests\ui\proc-macro\issue-59191-replace-root-with-fn.rs@bors r- |
Member
|
I wasn't 100% certain either, but this is the only one that seems even remotely related to the error output changing. |
Collaborator
|
☔ The latest upstream changes (presumably #145489) made this pull request unmergeable. Please resolve the merge conflicts. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MSVC and wasm have personalities of their own so Rust's personality function is never called. The removed library comment has some more details.