Skip to content

Add back unwinding support for Sony PSP #75280

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

Merged
merged 1 commit into from
Aug 9, 2020

Conversation

overdrivenpotato
Copy link
Contributor

@overdrivenpotato overdrivenpotato commented Aug 8, 2020

This PR adds back unwinding support for the Sony PSP. The mipsel-sony-psp target works well with unwinding. In rust-psp, we use the panic_unwind crate along with LLVM's libunwind to catch panics, run destructors, and print them to the debug screen without aborting all threads.

@rust-highfive
Copy link
Contributor

r? @dtolnay

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 8, 2020
Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

I'll stamp this without particular scrutiny on the basis that:

  • Only the PSP target is affected by this commit.
  • PSP is a Tier 3 target so whatever happens happens.
  • You are the maintainer of rust-psp which is a real project with a large number of stars. Consequently if you say it works that's enough for me!

@dtolnay
Copy link
Member

dtolnay commented Aug 9, 2020

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Aug 9, 2020

📌 Commit 27fca58 has been approved by dtolnay

@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 Aug 9, 2020
@bors
Copy link
Collaborator

bors commented Aug 9, 2020

⌛ Testing commit 27fca58 with merge f50f1c8...

@bors
Copy link
Collaborator

bors commented Aug 9, 2020

☀️ Test successful - checks-actions, checks-azure
Approved by: dtolnay
Pushing f50f1c8 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 9, 2020
@bors bors merged commit f50f1c8 into rust-lang:master Aug 9, 2020
@overdrivenpotato overdrivenpotato deleted the psp-unwind branch August 9, 2020 08:15
@cuviper cuviper added this to the 1.47.0 milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants