| 1 | Bump bindgen to 0.72 to fix the Rust build with the current libclang.
|
| 2 |
|
| 3 | bindgen 0.71 generates opaque (field-less) structs for sentrypeer_config
|
| 4 | and sip_message_event when run against llvm/clang 20+, which makes the
|
| 5 | Rust code fail to compile with "no field ... on type" errors. bindgen
|
| 6 | 0.72 parses the headers correctly again.
|
| 7 |
|
| 8 | |
| 9 | |
| 10 | @@ -47,7 +47,7 @@
|
| 11 | ]
|
| 12 |
|
| 13 | [build-dependencies]
|
| 14 | -bindgen = "0.71.1"
|
| 15 | +bindgen = "0.72"
|
| 16 | cbindgen = "0.28.0"
|
| 17 |
|
| 18 | [lib]
|
| 19 | |
| 20 | |
| 21 | @@ -184,9 +184,9 @@
|
| 22 |
|
| 23 | [[package]]
|
| 24 | name = "bindgen"
|
| 25 | -version = "0.71.1"
|
| 26 | +version = "0.72.1"
|
| 27 | source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 28 | -checksum = "5f58bf3d7db68cfbac37cfc485a8d711e87e064c3d0fe0435b92f7a407f9d6b3"
|
| 29 | +checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
|
| 30 | dependencies = [
|
| 31 | "bitflags",
|
| 32 | "cexpr",
|
| 33 | @@ -1204,7 +1204,7 @@
|
| 34 | version = "1.0.0"
|
| 35 | dependencies = [
|
| 36 | "assert_cmd",
|
| 37 | - "bindgen 0.71.1",
|
| 38 | + "bindgen 0.72.1",
|
| 39 | "cbindgen",
|
| 40 | "chrono",
|
| 41 | "clap",
|