On Fri, Jul 5, 2024 at 7:55 PM snek <s...@chromium.org> wrote: > > Can foreign exceptions unwind through V8? In particular I'm curious if rust > code interfacing with V8 needs to be marked as unsafe for unwinding. I see > that V8 generally keeps track of stack pointers and also contains some > machinery for managing eh_frame data but I'd appreciate some clarification on > what behavior can be relied on. Thanks!
No, it can't. V8 is not exception/unwind-safe. You can unwind in your own code but you need to catch it at the points where control goes into or comes out of V8. -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/CAHQurc_5oQLv%3D9wd7kEBnugtv1NrrbHvqDE49kERrDCsfwkwUA%40mail.gmail.com.