summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorThomas Bertschinger <tahbertschinger@gmail.com>2024-02-04 13:49:23 -0700
committerKent Overstreet <kent.overstreet@linux.dev>2024-02-04 18:26:33 -0500
commitf6b619daad4e72329a52500299beac5721f6dd8f (patch)
tree3eabebf79698a31fc625559f62d0d393e52236eb /Cargo.lock
parentf154e6ed41e6080d7afe76d5d1209c5cae0acc12 (diff)
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>
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock21
1 files changed, 12 insertions, 9 deletions
diff --git a/Cargo.lock b/Cargo.lock
index bcbdbc5a..9987974e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -119,17 +119,17 @@ dependencies = [
[[package]]
name = "bindgen"
-version = "0.69.2"
+version = "0.69.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4c69fae65a523209d34240b60abe0c42d33d1045d445c0839d8a4894a736e2d"
+checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
dependencies = [
"bitflags 2.4.2",
"cexpr",
"clang-sys",
+ "itertools",
"lazy_static",
"lazycell",
"log",
- "peeking_take_while",
"prettyplease",
"proc-macro2",
"quote",
@@ -333,6 +333,15 @@ dependencies = [
]
[[package]]
+name = "itertools"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
+dependencies = [
+ "either",
+]
+
+[[package]]
name = "lazy_static"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -426,12 +435,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c"
[[package]]
-name = "peeking_take_while"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
-
-[[package]]
name = "pkg-config"
version = "0.3.29"
source = "registry+https://github.com/rust-lang/crates.io-index"