Skip to content
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

Use nightly features #11

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Use nightly features #11

wants to merge 4 commits into from

Conversation

madsmtm
Copy link

@madsmtm madsmtm commented Jun 2, 2021

Builds upon #7.

Uses nightly features to:

  • Make calling throw no longer UB
  • Remove the extra build stage by handling exceptions directly in Rust

Mostly submitted this for prosperity, core_intrinsics won't get stabilized so Rust will need some changes before we can do this on stable. I opened an issue on the internals forum here, so maybe that could get the ball rolling a bit.

But I could add the C-unwind as an unstable feature if you'd like?

madsmtm added 4 commits June 2, 2021 22:29
Uses the same implementation as `std::panic::catch_unwind`, with small modifications to extract the exception object from Objective-C.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant