Skip to content

Commit 2787d42

Browse files
committed
fix memchr features in workspace-hack
1 parent 43512e6 commit 2787d42

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Cargo.lock

+1
Original file line numberDiff line numberDiff line change
@@ -3525,6 +3525,7 @@ dependencies = [
35253525
"crossbeam-utils",
35263526
"libc",
35273527
"libz-sys",
3528+
"memchr",
35283529
"proc-macro2",
35293530
"quote",
35303531
"rand_core 0.5.1",

src/tools/rustc-workspace-hack/Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ crossbeam-utils = { version = "0.8.0", features = ["nightly"] }
7979
libc = { version = "0.2.79", features = ["align"] }
8080
# Ensure default features of libz-sys, which are disabled in some scenarios.
8181
libz-sys = { version = "1.1.2" }
82+
83+
# looks like the only user of deprecated `use_std` feature is `combine`, so this
84+
# can be removed if/when https://github.com/Marwes/combine/pull/348 be merged and released.
85+
memchr = { version = "2.5", features = ["std", "use_std"] }
8286
# same for regex
8387
regex = { version = "1.5.6" }
8488
proc-macro2 = { version = "1", features = ["default"] }

0 commit comments

Comments
 (0)