about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2021-04-23 18:00:46 -0700
committerJubilee Young <workingjubilee@gmail.com>2021-04-23 18:00:46 -0700
commit7d3186d92a485f549b7ada938cb3cf3bf5f7f769 (patch)
tree7ab8c241ed68abe90a672d39f94f4c934360a515
parent1f5e1c5efa7f7da073b4c06b87f9516eb75a2400 (diff)
downloadrust-7d3186d92a485f549b7ada938cb3cf3bf5f7f769.tar.gz
rust-7d3186d92a485f549b7ada938cb3cf3bf5f7f769.zip
Lock down rand_core 0.5.1 to specific features
-rw-r--r--Cargo.lock1
-rw-r--r--src/tools/rustc-workspace-hack/Cargo.toml1
2 files changed, 2 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 5ddea28d56a..796734ea1d3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3602,6 +3602,7 @@ dependencies = [
  "libz-sys",
  "proc-macro2",
  "quote",
+ "rand_core 0.5.1",
  "serde",
  "serde_json",
  "smallvec",
diff --git a/src/tools/rustc-workspace-hack/Cargo.toml b/src/tools/rustc-workspace-hack/Cargo.toml
index 96e5db45efc..d39cb597b21 100644
--- a/src/tools/rustc-workspace-hack/Cargo.toml
+++ b/src/tools/rustc-workspace-hack/Cargo.toml
@@ -69,6 +69,7 @@ libc = { version = "0.2.79", features = ["align"] }
 libz-sys = { version = "1.1.2" }
 proc-macro2 = { version = "1", features = ["default"] }
 quote = { version = "1", features = ["default"] }
+rand_core_0_5 = { package = "rand_core", version = "0.5.1", features = ["getrandom", "alloc", "std"] }
 serde = { version = "1.0.82", features = ['derive'] }
 serde_json = { version = "1.0.31", features = ["raw_value", "unbounded_depth"] }
 smallvec = { version = "1.6.1", features = ['union', 'may_dangle'] }