Skip to content

Commit

Permalink
Update minimum regex version to fix compile error
Browse files Browse the repository at this point in the history
regex 1.5.3 solves the compile error with unicode-perl feature.
https://github.com/rust-lang/regex/blob/master/CHANGELOG.md#153-2021-05-01

Specifing wrong version as the minimum version can cause compile errors
on products which depend on bindgen. Minimum versions can be checked
with this cargo command.

```
cargo +nightly update -Z minimal-versions
```
  • Loading branch information
kawasin73 authored and emilio committed Feb 7, 2024
1 parent a152f28 commit 8b1f971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ log = { version = "0.4", optional = true }
prettyplease = { version = "0.2.7", optional = true, features = ["verbatim"] }
proc-macro2 = { version = "1", default-features = false }
quote = { version = "1", default-features = false }
regex = { version = "1.5.1", default-features = false, features = ["std", "unicode-perl"] }
regex = { version = "1.5.3", default-features = false, features = ["std", "unicode-perl"] }
rustc-hash = "1.0.1"
shlex = "1"
syn = { version = "2.0", features = ["full", "extra-traits", "visit-mut"] }
Expand Down

0 comments on commit 8b1f971

Please sign in to comment.