Skip to content

Commit 11aeae4

Browse files
MarijnS95emilio
authored andcommitted
Use at least regex 1.5.1 to avoid build build failures without perf-literal feature
When building a crate that depends on `bindgen` with `-Zminimal-features`, `cargo` ends up selecting `regex 1.5.0` which fails to compile when its `perf-literal` feature wasn't enabled. This was aptly fixed in `1.5.1`, albeit without yanking the `1.5.0` release. rust-lang/regex#931
1 parent d0c2b1e commit 11aeae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindgen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ peeking_take_while = "0.1.2"
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", default-features = false, features = ["std", "unicode-perl"] }
39+
regex = { version = "1.5.1", 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)