rust-vmm/vhost

Regenerate vhost_binding.rs and move custom changes in another file

Open

#188 opened on Sep 15, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (98 forks)auto 404
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (163 stars)
PR merge metrics
 (PR metrics pending)

Description

In a PR #185, we fixed some new clippy warnings, but there is one related to __IncompleteArrayField that should be auto-generated by bindgen.

We used an old version that generated also Copy/Clone implementations, but now it looks like they removed it: https://github.com/rust-lang/rust-bindgen/issues/1431

@jiangliu agreed on regenerate it with a new version of bindgen. We also modified a bit the vhost_binding.rs generated file, so it may be better to move the new struct in another file, so we can update it easily next time

Contributor guide