3 ms·
There is no-panic [1] to turn panics in a function into compile errors, or the older no-panics-whatsoever [2] to do the same for the entire binary 1: https://c
by wongarsu 2y ago
There is no-panic [1] to turn panics in a function into compile errors, or the older no-panics-whatsoever [2] to do the same for the entire binary
1: https://crates.io/crates/no-panic https://crates.io/crates/no-panic
2: https://crates.io/crates/no-panics-whatsoever https://crates.io/crates/no-panics-whatsoever
- themulticaster 2y agono-panic uses link-time shenanigans to prevent panics in the compiled binary, but this isn't 100% reliable (as explained in the README, just pointing this out)