This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,18 @@ dependencies = [
105105 " wasm-bindgen" ,
106106]
107107
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+
108120[[package ]]
109121name = " gimli"
110122version = " 0.29.0"
@@ -178,6 +190,7 @@ dependencies = [
178190 " cfg-if" ,
179191 " getrandom 0.1.16" ,
180192 " getrandom 0.2.15" ,
193+ " getrandom 0.3.1" ,
181194 " libc" ,
182195 " num_cpus" ,
183196 " page_size" ,
@@ -359,6 +372,15 @@ version = "0.11.0+wasi-snapshot-preview1"
359372source = " registry+https://github.com/rust-lang/crates.io-index"
360373checksum = " 9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
361374
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+
362384[[package ]]
363385name = " wasm-bindgen"
364386version = " 0.2.92"
@@ -507,3 +529,12 @@ name = "windows_x86_64_msvc"
507529version = " 0.52.6"
508530source = " registry+https://github.com/rust-lang/crates.io-index"
509531checksum = " 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"
1515
1616getrandom_01 = { package = " getrandom" , version = " 0.1" }
1717getrandom_02 = { package = " getrandom" , version = " 0.2" , features = [" js" ] }
18+ getrandom_03 = { package = " getrandom" , version = " 0.3" }
1819
1920[target .'cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))' .dependencies ]
2021tempfile = " 3"
Original file line number Diff line number Diff line change 33//@revisions: isolation no_isolation
44//@[no_isolation]compile-flags: -Zmiri-disable-isolation
55
6- /// Test direct calls of getrandom 0.1 and 0.2 .
6+ /// Test direct calls of getrandom 0.1, 0.2 and 0.3 .
77fn main ( ) {
88 let mut data = vec ! [ 0 ; 16 ] ;
99
@@ -13,4 +13,6 @@ fn main() {
1313 getrandom_01:: getrandom ( & mut data) . unwrap ( ) ;
1414
1515 getrandom_02:: getrandom ( & mut data) . unwrap ( ) ;
16+
17+ getrandom_03:: fill ( & mut data) . unwrap ( ) ;
1618}
You can’t perform that action at this time.
0 commit comments