-
Notifications
You must be signed in to change notification settings - Fork 719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update minimum regex version to fix compile error #2717
Conversation
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 ```
r? @emilio |
I think you may as well go all the way up to version 1.9.6, which has a lot more bugfixes and is the last version to support bindgen's MSRV of 1.60. 1.7.1 is what is in Cargo.lock anyway. |
@@ -36,7 +36,7 @@ peeking_take_while = "0.1.2" | |||
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", default-features = false, features = ["std", "unicode-perl"] } | |||
regex = { version = "1.5.3", default-features = false, features = ["std", "unicode-perl"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
regex = { version = "1.5.3", default-features = false, features = ["std", "unicode-perl"] } | |
regex = { version = "1.9.6", default-features = false, features = ["std", "unicode-perl"] } |
Ah, this is actually a duplicate of #2714 |
Let's close as a dup. Happy to take a patch updating to a newer regex version, though given users can use the very latest it's not a big deal. |
☔ The latest upstream changes (presumably 11aeae4) made this pull request unmergeable. Please resolve the merge conflicts. |
Even with regex |
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.