See rust-lang/rust#77499 for an example of a similar issue.
In ws this is the error message when you try to use DeflateHandler:
attempted to zero-initialize type `deflate::ffi::z_stream`, which is invalid
Installing an older version with rustup makes it work: rustup install nightly-2020-09-26.
As I understand, the issue is here:
|
let mut stream: Box<ffi::z_stream> = Box::new(mem::zeroed()); |