Hacker News new | ask | show | jobs
by nazka 1212 days ago
Awesome to see a project like!

One question: what happens for panics that won’t be able to be catched by std::panic::catch_unwind?

1 comments

That's essentially a process-abort level panic, which then your whole environment would die. Unfortunately there's not much we can do about that. This will catch all unwindable panics however, so that's quite a lot but yeah there's an edge-case.

https://doc.rust-lang.org/std/panic/fn.catch_unwind.html

Ok thank you for your answer.