Skip to content

Commit 157b2d5

Browse files
committed
ensure rand has its default features enabled
1 parent 6906f08 commit 157b2d5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Cargo.lock

+1
Original file line numberDiff line numberDiff line change
@@ -3098,6 +3098,7 @@ dependencies = [
30983098
"bstr 0.2.17",
30993099
"clap 3.2.20",
31003100
"libz-sys",
3101+
"rand 0.8.5",
31013102
"regex",
31023103
"serde_json",
31033104
"syn",

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

+2
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ regex = { version = "1.5.6" }
8282
serde_json = { version = "1.0.31", features = ["raw_value", "unbounded_depth"] }
8383
syn = { version = "1", features = ['full', 'visit'] }
8484
url = { version = "2.0", features = ['serde'] }
85+
# Ensure default features of rand, which are disabled in some scenarios.
86+
rand = { version = "0.8.5" }
8587

8688
[target.'cfg(not(windows))'.dependencies]
8789
openssl = { version = "0.10.35", optional = true }

0 commit comments

Comments
 (0)