Skip to content

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