Don't require eh_personality lang item on targets that have a personality by ChrisDenton · Pull Request #143893 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

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

[ Show hidden characters]({{ revealButtonHref }})

@ChrisDenton

MSVC and wasm have personalities of their own so Rust's personality function is never called. The removed library comment has some more details.

@ChrisDenton

Some targets already have personality

@rustbot

r? @jhpratt

rustbot has assigned @jhpratt.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

T-libs

Relevant to the library team, which will review and decide on the PR/issue.

labels

Jul 13, 2025

@ChrisDenton

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

@compiler-errors

r? compiler-errors @bors r+ rollup

@bors

📌 Commit 98eadb3 has been approved by compiler-errors

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Jul 13, 2025

fmease added a commit to fmease/rust that referenced this pull request

Jul 14, 2025

@fmease

…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

@bors

Rollup of 16 pull requests

Successful merges:

Failed merges:

r? @ghost @rustbot modify labels: rollup

jhpratt added a commit to jhpratt/rust that referenced this pull request

Jul 14, 2025

@jhpratt

…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

@bors

Rollup of 17 pull requests

Successful merges:

Failed merges:

r? @ghost @rustbot modify labels: rollup

@jieyouxu

Could this have caused the rollup failure (#143916) on aaarch64-pc-windows-msvc?


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-

@bors bors added S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

and removed S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

labels

Jul 14, 2025

@jhpratt

I wasn't 100% certain either, but this is the only one that seems even remotely related to the error output changing.

@bors

Labels

S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

T-libs

Relevant to the library team, which will review and decide on the PR/issue.