firecracker icon indicating copy to clipboard operation
firecracker copied to clipboard

Make sure that bindgen files are all generated from same kernel version

Open andreeaflorescu opened this issue 7 years ago • 2 comments

andreeaflorescu avatar Jun 20 '18 08:06 andreeaflorescu

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

dianpopa avatar Oct 31 '18 17:10 dianpopa

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

alindima avatar Feb 14 '22 15:02 alindima

Fixed in #3112

dianpopa avatar Oct 12 '22 16:10 dianpopa