In particular, this fixes the Clone impl for __BindgenUnionField, which triggers clippy's incorrect_clone_impl_on_copy_type in Rust 1.73. Additionally, --size_t-is-usize became the default and the option was removed in bindgen 0.65.0, so the flag is dropped from our bindgen command line. BUG=None TEST=tools/bindgen-all-the-things Change-Id: I40a26cd4a9e2897af8a354f454f4909429d2feda Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4927831 Reviewed-by: Zihan Chen <zihanchen@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
|---|---|---|
| .. | ||
| src | ||
| bindgen.sh | ||
| Cargo.toml | ||