Donough Liu
Donough Liu
Blocked on the issue: https://github.com/rust-lang/cargo/issues/7432 Currently the project rebuilds constantly, the problem is my rust-analyzer uses cargo watch, and I uses cargo run with a different environment variable.
I worked around it by not listening to these environment variables. rusqlite took the same way: https://github.com/rusqlite/rusqlite/pull/627
> ```rust > fn f(_: &[i32]) {} > > fn main() { > f(&Box::new([1, 2])); > } > ``` I guess it's failed because unsized coercion([i32; 2] => [i32]) doesn't...
> Sounds like a good addition! We should probably also support `Box` and `Rc` similarly. `Rc` cannot be supported since `prost::Message` requires `Send + Sync`
Related: https://github.com/tokio-rs/prost/issues/99
I've locally tested ffmpeg 6.1 with rusty_ffmpeg yesterday, and everything seems fine.
@whamer100 Nope, you didn't do anything wrong. It seems to be a bindgen bug: https://github.com/rust-lang/rust-bindgen/issues/2159.
I am going to reproduce it on my windows machine and create a patch later.
@dtolnay Could you try `std::mem::take(&mut pending).into_iter()`?
`.into_iter()` usually gets better optimization: https://rust.godbolt.org/z/saGc3Tjqr