rustls / rustls-ffi

Use Rustls from any language
Other
133 stars 30 forks source link

Test that all functions are wrapped in a panic boundary #27

Open jsha opened 3 years ago

jsha commented 3 years ago

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.

djc commented 3 years ago

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

jsha commented 3 years ago

Oh, that looks really interesting! Thank you.