zlacker

[parent] [thread] 0 comments
1. lifthr+(OP)[view] [source] 2022-10-03 04:47:14
The program is in a defined but undesirable state, both when panic occurred in Rust and when a "simple" uncontrolled overflow happened in C (provided that the compiler is configured to not treat it as an UB, otherwise it'd be worse). And anyone doing Rust-C interop already has to be conscious about the language boundary, which happens to be a perfect place to catch Rust panics.
[go to top]