Skip to content

Commit 8b1f971

Browse files
kawasin73emilio
authored andcommitted
Update minimum regex version to fix compile error
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 ```
1 parent a152f28 commit 8b1f971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindgen/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ log = { version = "0.4", optional = true }
3636
prettyplease = { version = "0.2.7", optional = true, features = ["verbatim"] }
3737
proc-macro2 = { version = "1", default-features = false }
3838
quote = { version = "1", default-features = false }
39-
regex = { version = "1.5.1", default-features = false, features = ["std", "unicode-perl"] }
39+
regex = { version = "1.5.3", default-features = false, features = ["std", "unicode-perl"] }
4040
rustc-hash = "1.0.1"
4141
shlex = "1"
4242
syn = { version = "2.0", features = ["full", "extra-traits", "visit-mut"] }

0 commit comments

Comments
 (0)