File tree 6 files changed +18
-10
lines changed
6 files changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -1150,12 +1150,13 @@ dependencies = [
1150
1150
1151
1151
[[package ]]
1152
1152
name = " getrandom"
1153
- version = " 0.1.8 "
1153
+ version = " 0.1.11 "
1154
1154
source = " registry+https://github.com/rust-lang/crates.io-index"
1155
- checksum = " 34f33de6f0ae7c9cb5e574502a562e2b512799e32abb801cd1e79ad952b62b49 "
1155
+ checksum = " fc344b02d3868feb131e8b5fe2b9b0a1cc42942679af493061fc13b853243872 "
1156
1156
dependencies = [
1157
1157
" cfg-if" ,
1158
1158
" libc" ,
1159
+ " wasi" ,
1159
1160
]
1160
1161
1161
1162
[[package ]]
@@ -1582,9 +1583,9 @@ checksum = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f"
1582
1583
1583
1584
[[package ]]
1584
1585
name = " libc"
1585
- version = " 0.2.61 "
1586
+ version = " 0.2.62 "
1586
1587
source = " registry+https://github.com/rust-lang/crates.io-index"
1587
- checksum = " c665266eb592905e8503ba3403020f4b8794d26263f412ca33171600eca9a6fa "
1588
+ checksum = " 34fcd2c08d2f832f376f4173a231990fa5aef4e99fb569867318a227ef4c06ba "
1588
1589
dependencies = [
1589
1590
" rustc-std-workspace-core" ,
1590
1591
]
@@ -3245,7 +3246,7 @@ version = "0.0.0"
3245
3246
dependencies = [
3246
3247
" graphviz" ,
3247
3248
" log" ,
3248
- " rand 0.6.1 " ,
3249
+ " rand 0.7.0 " ,
3249
3250
" rustc" ,
3250
3251
" rustc_data_structures" ,
3251
3252
" rustc_fs_util" ,
@@ -3860,7 +3861,7 @@ dependencies = [
3860
3861
" panic_abort" ,
3861
3862
" panic_unwind" ,
3862
3863
" profiler_builtins" ,
3863
- " rand 0.6.1 " ,
3864
+ " rand 0.7.0 " ,
3864
3865
" rustc_asan" ,
3865
3866
" rustc_lsan" ,
3866
3867
" rustc_msan" ,
@@ -4664,6 +4665,12 @@ dependencies = [
4664
4665
" try-lock" ,
4665
4666
]
4666
4667
4668
+ [[package ]]
4669
+ name = " wasi"
4670
+ version = " 0.5.0"
4671
+ source = " registry+https://github.com/rust-lang/crates.io-index"
4672
+ checksum = " fd5442abcac6525a045cc8c795aedb60da7a2e5e89c7bf18a0d5357849bb23c7"
4673
+
4667
4674
[[package ]]
4668
4675
name = " winapi"
4669
4676
version = " 0.2.8"
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) ;
Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ const WHITELIST: &[Crate<'_>] = &[
171
171
Crate ( "vcpkg" ) ,
172
172
Crate ( "version_check" ) ,
173
173
Crate ( "void" ) ,
174
+ Crate ( "wasi" ) ,
174
175
Crate ( "winapi" ) ,
175
176
Crate ( "winapi-build" ) ,
176
177
Crate ( "winapi-i686-pc-windows-gnu" ) ,
You can’t perform that action at this time.
0 commit comments