rustls-ffi icon indicating copy to clipboard operation
rustls-ffi copied to clipboard

Test that all functions are wrapped in a panic boundary

Open jsha opened this issue 4 years ago • 2 comments
trafficstars

Followup from https://github.com/abetterinternet/crustls/pull/25. We should have automated tests to ensure newly added functions are treated with an ffi_panic_boundary_* macro.

jsha avatar Jan 21 '21 03:01 jsha

Maybe something like https://crates.io/crates/no_panic is useful?

djc avatar Jan 28 '21 13:01 djc

Oh, that looks really interesting! Thank you.

jsha avatar Jan 28 '21 19:01 jsha