firecracker
firecracker copied to clipboard
Make sure that bindgen files are all generated from same kernel version
When regenerating the files we should use following command as an example (this also adds PartialEq to the list of derives).
bindgen bootparam.h -o bootparam.rs --with-derive-partialeq --with-derive-default --blacklist-type s8 --blacklist-type u8 --blacklist-type s16 --blacklist-type u16 --blacklist-type s32 --blacklist-type u32 --blacklist-type s64 --blacklist-type u64 -- -Iinclude
We should automate the bindgen process and possibly use it from a build script. We otherwise have no easy way of regenerating them on-demand
Fixed in #3112