about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2022-07-28 17:24:46 +0300
committerklensy <klensy@users.noreply.github.com>2022-07-28 17:24:46 +0300
commit2787d4280ff98d604494abfe2049efd106b5cefe (patch)
treed816ee7838e4854e60d00cde128be5b451d81a00 /src
parent43512e674565e1b719da59ffb1c2e0fb9e69112a (diff)
downloadrust-2787d4280ff98d604494abfe2049efd106b5cefe.tar.gz
rust-2787d4280ff98d604494abfe2049efd106b5cefe.zip
fix memchr features in workspace-hack
Diffstat (limited to 'src')
-rw-r--r--src/tools/rustc-workspace-hack/Cargo.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/rustc-workspace-hack/Cargo.toml b/src/tools/rustc-workspace-hack/Cargo.toml
index 9c3cd8b3ff1..00281bf8f01 100644
--- a/src/tools/rustc-workspace-hack/Cargo.toml
+++ b/src/tools/rustc-workspace-hack/Cargo.toml
@@ -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"] }