File tree 3 files changed +35
-1
lines changed
3 files changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,18 @@ dependencies = [
105
105
" wasm-bindgen" ,
106
106
]
107
107
108
+ [[package ]]
109
+ name = " getrandom"
110
+ version = " 0.3.1"
111
+ source = " registry+https://github.com/rust-lang/crates.io-index"
112
+ checksum = " 43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8"
113
+ dependencies = [
114
+ " cfg-if" ,
115
+ " libc" ,
116
+ " wasi 0.13.3+wasi-0.2.2" ,
117
+ " windows-targets" ,
118
+ ]
119
+
108
120
[[package ]]
109
121
name = " gimli"
110
122
version = " 0.29.0"
@@ -178,6 +190,7 @@ dependencies = [
178
190
" cfg-if" ,
179
191
" getrandom 0.1.16" ,
180
192
" getrandom 0.2.15" ,
193
+ " getrandom 0.3.1" ,
181
194
" libc" ,
182
195
" num_cpus" ,
183
196
" page_size" ,
@@ -359,6 +372,15 @@ version = "0.11.0+wasi-snapshot-preview1"
359
372
source = " registry+https://github.com/rust-lang/crates.io-index"
360
373
checksum = " 9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
361
374
375
+ [[package ]]
376
+ name = " wasi"
377
+ version = " 0.13.3+wasi-0.2.2"
378
+ source = " registry+https://github.com/rust-lang/crates.io-index"
379
+ checksum = " 26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2"
380
+ dependencies = [
381
+ " wit-bindgen-rt" ,
382
+ ]
383
+
362
384
[[package ]]
363
385
name = " wasm-bindgen"
364
386
version = " 0.2.92"
@@ -507,3 +529,12 @@ name = "windows_x86_64_msvc"
507
529
version = " 0.52.6"
508
530
source = " registry+https://github.com/rust-lang/crates.io-index"
509
531
checksum = " 589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
532
+
533
+ [[package ]]
534
+ name = " wit-bindgen-rt"
535
+ version = " 0.33.0"
536
+ source = " registry+https://github.com/rust-lang/crates.io-index"
537
+ checksum = " 3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c"
538
+ dependencies = [
539
+ " bitflags" ,
540
+ ]
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ cfg-if = "1"
15
15
16
16
getrandom_01 = { package = " getrandom" , version = " 0.1" }
17
17
getrandom_02 = { package = " getrandom" , version = " 0.2" , features = [" js" ] }
18
+ getrandom_03 = { package = " getrandom" , version = " 0.3" }
18
19
19
20
[target .'cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))' .dependencies ]
20
21
tempfile = " 3"
Original file line number Diff line number Diff line change 3
3
//@revisions: isolation no_isolation
4
4
//@[no_isolation]compile-flags: -Zmiri-disable-isolation
5
5
6
- /// Test direct calls of getrandom 0.1 and 0.2 .
6
+ /// Test direct calls of getrandom 0.1, 0.2 and 0.3 .
7
7
fn main ( ) {
8
8
let mut data = vec ! [ 0 ; 16 ] ;
9
9
@@ -13,4 +13,6 @@ fn main() {
13
13
getrandom_01:: getrandom ( & mut data) . unwrap ( ) ;
14
14
15
15
getrandom_02:: getrandom ( & mut data) . unwrap ( ) ;
16
+
17
+ getrandom_03:: fill ( & mut data) . unwrap ( ) ;
16
18
}
You can’t perform that action at this time.
0 commit comments