rustls / rustls-ffi

Use Rustls from any language
Other
124 stars 31 forks source link

`cargo fmt` inside of ffi_panic_boundary! invocations #383

Closed ctz closed 5 months ago

ctz commented 5 months ago

This is a one-off, because I don't want to make CI require it (with the knock-on that people have to run random scripts wrapping cargo fmt in their workflow).

But even as a one-off I think it's a strict improvement?

The script is:

sed -i -e 's/ffi_panic_boundary! {/if true {/g' src/*.rs
cargo fmt
sed -i -e 's/if true {/ffi_panic_boundary! {/g' src/*.rs