File tree 5 files changed +11
-10
lines changed
5 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -1139,12 +1139,13 @@ dependencies = [
1139
1139
1140
1140
[[package ]]
1141
1141
name = " getrandom"
1142
- version = " 0.1.8 "
1142
+ version = " 0.1.12 "
1143
1143
source = " registry+https://github.com/rust-lang/crates.io-index"
1144
- checksum = " 34f33de6f0ae7c9cb5e574502a562e2b512799e32abb801cd1e79ad952b62b49 "
1144
+ checksum = " 473a1265acc8ff1e808cd0a1af8cee3c2ee5200916058a2ca113c29f2d903571 "
1145
1145
dependencies = [
1146
1146
" cfg-if" ,
1147
1147
" libc" ,
1148
+ " wasi" ,
1148
1149
]
1149
1150
1150
1151
[[package ]]
@@ -1571,9 +1572,9 @@ checksum = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f"
1571
1572
1572
1573
[[package ]]
1573
1574
name = " libc"
1574
- version = " 0.2.61 "
1575
+ version = " 0.2.62 "
1575
1576
source = " registry+https://github.com/rust-lang/crates.io-index"
1576
- checksum = " c665266eb592905e8503ba3403020f4b8794d26263f412ca33171600eca9a6fa "
1577
+ checksum = " 34fcd2c08d2f832f376f4173a231990fa5aef4e99fb569867318a227ef4c06ba "
1577
1578
dependencies = [
1578
1579
" rustc-std-workspace-core" ,
1579
1580
]
@@ -3232,7 +3233,7 @@ version = "0.0.0"
3232
3233
dependencies = [
3233
3234
" graphviz" ,
3234
3235
" log" ,
3235
- " rand 0.6.1 " ,
3236
+ " rand 0.7.0 " ,
3236
3237
" rustc" ,
3237
3238
" rustc_data_structures" ,
3238
3239
" rustc_fs_util" ,
@@ -3848,7 +3849,7 @@ dependencies = [
3848
3849
" panic_abort" ,
3849
3850
" panic_unwind" ,
3850
3851
" profiler_builtins" ,
3851
- " rand 0.6.1 " ,
3852
+ " rand 0.7.0 " ,
3852
3853
" rustc_asan" ,
3853
3854
" rustc_lsan" ,
3854
3855
" rustc_msan" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ doctest = false
12
12
[dependencies ]
13
13
graphviz = { path = " ../libgraphviz" }
14
14
log = " 0.4"
15
- rand = " 0.6 "
15
+ rand = " 0.7 "
16
16
rustc = { path = " ../librustc" }
17
17
rustc_data_structures = { path = " ../librustc_data_structures" }
18
18
rustc_serialize = { path = " ../libserialize" , package = " serialize" }
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ features = [
38
38
optional = true
39
39
40
40
[dev-dependencies ]
41
- rand = " 0.6.1 "
41
+ rand = " 0.7 "
42
42
43
43
[target .x86_64-apple-darwin .dependencies ]
44
44
rustc_asan = { path = " ../librustc_asan" }
Original file line number Diff line number Diff line change @@ -2144,7 +2144,7 @@ mod tests {
2144
2144
use crate :: sys_common:: io:: test:: { TempDir , tmpdir} ;
2145
2145
use crate :: thread;
2146
2146
2147
- use rand:: { rngs:: StdRng , FromEntropy , RngCore } ;
2147
+ use rand:: { rngs:: StdRng , RngCore , SeedableRng } ;
2148
2148
2149
2149
#[ cfg( windows) ]
2150
2150
use crate :: os:: windows:: fs:: { symlink_dir, symlink_file} ;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use rand::{thread_rng, Rng};
5
5
use rand:: distributions:: Alphanumeric ;
6
6
7
7
fn make_rand_name ( ) -> OsString {
8
- let mut rng = thread_rng ( ) ;
8
+ let rng = thread_rng ( ) ;
9
9
let n = format ! ( "TEST{}" , rng. sample_iter( & Alphanumeric ) . take( 10 )
10
10
. collect:: <String >( ) ) ;
11
11
let n = OsString :: from ( n) ;
You can’t perform that action at this time.
0 commit comments