Skip to content

Commit

Permalink
fix memchr features in workspace-hack
Browse files Browse the repository at this point in the history
  • Loading branch information
klensy committed Jul 28, 2022
1 parent 43512e6 commit 2787d42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3525,6 +3525,7 @@ dependencies = [
"crossbeam-utils",
"libc",
"libz-sys",
"memchr",
"proc-macro2",
"quote",
"rand_core 0.5.1",
Expand Down
4 changes: 4 additions & 0 deletions src/tools/rustc-workspace-hack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ crossbeam-utils = { version = "0.8.0", features = ["nightly"] }
libc = { version = "0.2.79", features = ["align"] }
# Ensure default features of libz-sys, which are disabled in some scenarios.
libz-sys = { version = "1.1.2" }

# looks like the only user of deprecated `use_std` feature is `combine`, so this
# can be removed if/when https://github.com/Marwes/combine/pull/348 be merged and released.
memchr = { version = "2.5", features = ["std", "use_std"] }
# same for regex
regex = { version = "1.5.6" }
proc-macro2 = { version = "1", features = ["default"] }
Expand Down

0 comments on commit 2787d42

Please sign in to comment.