Remove `abort_on_panic()` since Rust 1.81?
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.3k
- Forks
- 125
- PR merge metrics
- No merged PRs in 30d
Description
In https://github.com/rust-mobile/ndk/pull/412 @spencercw neatly added a wrapper to catch panics instead of unsoundly unwinding them across an extern "C" boundary. Rust 1.81 now plugged that hole and always aborts already:
This should allow us to get rid of the manual catch+abort when our MSRV is 1.81. Unsure if that gets propagated in the same detail to stderr / Android logs though.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Review PR #412 and the Rust 1.81 release note first, then locate the abort_on_panic wrapper and its callers; done means the manual catch-and-abort path is removed for the updated MSRV while stderr and Android log behavior remain acceptable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, rust
- Domain
- mobile-dev
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100