Skip to content

Commit 7dbb48f

Browse files
committed
fix: enable unicode-case feature of regex
to fix failures in binding generation. We use case-inensistive regex patterns while calling allowlist_file() at some places. This does not work without the unicode-case feature. In the past it used to be enabled by tracing-subscriber which served our allowlist-file() use-case as well by accident. But the new version of tracing-subscriber has removed the dependency on the regex crate thereboy breaking our bindgen code. In this fix we have added an explicit depenency on regex ourselves with said feature enabled.
1 parent a596874 commit 7dbb48f

File tree

11 files changed

+254
-518
lines changed

11 files changed

+254
-518
lines changed

Cargo.lock

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ predicates = "3.1.0"
5252
pretty_assertions = "1.4.1"
5353
proc-macro2 = "1.0.94"
5454
quote = "1.0.40"
55+
regex = "1.11.1"
5556
rustversion = "1.0.20"
5657
scratch = "1.0"
5758
semver = "1.0.26"

crates/cargo-wdk/tests/emulated-workspace/umdf-driver-workspace/Cargo.lock

Lines changed: 33 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)