]> git.sesse.net Git - bcachefs-tools-debian/commit
rust: update bindgen to 0.69.4; remove custom type modifications
authorThomas Bertschinger <tahbertschinger@gmail.com>
Sun, 4 Feb 2024 20:49:23 +0000 (13:49 -0700)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 4 Feb 2024 23:26:33 +0000 (18:26 -0500)
commitf6b619daad4e72329a52500299beac5721f6dd8f
tree3eabebf79698a31fc625559f62d0d393e52236eb
parentf154e6ed41e6080d7afe76d5d1209c5cae0acc12
rust: update bindgen to 0.69.4; remove custom type modifications

This updates rust-bindgen to version 0.69.4 which includes the patch
199bee441ad0: "try to avoid #[repr(packed)] when align is needed". With
this patch, bindgen generates code that is both ABI-correct and can be
compiled by rustc, for 3 bcachefs types:

- bkey
- bch_extent_crc32
- bch_extent_ptr

This allows us to remove the custom treatment for these three types.

Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Cargo.lock
bch_bindgen/Cargo.toml
bch_bindgen/build.rs