Jiahao XU
Jiahao XU
That's neat! I would welcome PR/contribution for that API!
Hmm so I see that the old behavior is more reasonable for some use cases, so maybe we can introduce `CFLAGS_$target_OVERRIDE` to override default `CFLAGS`? I don't want to change...
> But I don't think that is implementable with the information that Cargo provides us. Is that because `cargo_target_flag_is_specified` is hard to probe? We do have code for probing cross...
Maybe you could try scroop as well? cc @ChrisDenton since I'm not familiar with package installion windows
> How can I diagnose why it's unable to find the regular MSVC tools? Try `cargo build -v`, you could also set env var `CC_ENABLE_DEBUG_OUTPUT`
> I'll see if I can get the debug output by setting that environment variable, but I'm not sure how it will be presented given how cc-rs is being used...
Thanks, maybe we need to properly support multi-frame, like how gzip does it (IIRC gzip has a reset implementation)
zstd does have a [`reinit` call](https://docs.rs/zstd/latest/zstd/stream/raw/trait.Operation.html#method.reinit) though it is a no-op, but it might be intended as no reinitialization is required async-compression already has a `reinit` calling it though, maybe...
I think we'd need better documentation for that. And optionally, we may have a `new_with_multiple_members` method
That indeed works, `mem::size_of::()` gives me 24.