Skip to content

Commit

Permalink
upgrade bindgen to fix binding ident glib error
Browse files Browse the repository at this point in the history
  • Loading branch information
wong-justin authored Oct 14, 2024
1 parent 5278404 commit bf9f43a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion chafa-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ description = "Chafa bindings generated by bindgen"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[build-dependencies]
bindgen = "= 0.58.0" # highest which version that avoids home version ^0.5.0, which requires rustc ^1.70.0
bindgen = "= 0.65.1"
# upgrade bindgen to avoid identifier parsing bug:
# https://stackoverflow.com/a/76443281
#
# even tho this upgraded bindgen requires rustc 1.70.1+
# im using rustc 1.80.1 now, so it's ok
pkg-config = "= 0.3"
cc = "= 1.0.79"

0 comments on commit bf9f43a

Please sign in to comment.