Skip to content

Conversation

@MarijnS95
Copy link
Contributor

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 isn't enabled. This was aptly fixed in 1.5.1, albeit without yanking the 1.5.0 release.

rust-lang/regex#931

…f-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
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.1", default-features = false, features = ["std", "unicode-perl"] }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
regex = { version = "1.5.1", default-features = false, features = ["std", "unicode-perl"] }
regex = { version = "1.9.6", default-features = false, features = ["std", "unicode-perl"] }

I think it is OK to bump to the latest version supported by bindgen's MSRV (1.60, regex 1.10 is the first to jump to 1.65)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants