Skip to content

Commit b201e40

Browse files
authored
Bump bindgen to be able to handle CXCursor_LinkageSpec in LLVM18+ (#1243)
Current master branch gets stuck trying to compile `c2rust-ast-exporter` in Archlinux. The problem is that the bindgen version used by c2rust doesn't handle the new Clang 18+'s `CXCursor_LinkageSpec` reported by `clang::getCursorKindForDecl`. rust-lang/rust-bindgen#2689 fixes the issue, so I've bumped the bindgen version to the minimum that works.
2 parents 22d2085 + d698dc2 commit b201e40

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

Cargo.lock

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

c2rust-ast-exporter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ serde_bytes = "0.11"
1818
serde_cbor = "0.11"
1919

2020
[build-dependencies]
21-
bindgen = { version = "0.65", features = ["logging"] }
21+
bindgen = { version = "0.69.2", features = ["logging"] }
2222
clang-sys = "1.3"
2323
cmake = "0.1.49"
2424
env_logger = "0.10"

0 commit comments

Comments
 (0)