File tree 5 files changed +10
-10
lines changed
5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- uses : actions/checkout@v3
14
- - uses : WebAssembly/wit-abi-up-to-date@v15
14
+ - uses : WebAssembly/wit-abi-up-to-date@v16
Original file line number Diff line number Diff line change @@ -20,5 +20,5 @@ interface insecure-seed {
20
20
/// This will likely be changed to a value import, to prevent it from being
21
21
/// called multiple times and potentially used for purposes other than DoS
22
22
/// protection.
23
- insecure-seed : func () -> tuple <u64 , u64 >
23
+ insecure-seed : func () -> tuple <u64 , u64 >;
24
24
}
Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ interface insecure {
11
11
/// There are no requirements on the values of the returned bytes, however
12
12
/// implementations are encouraged to return evenly distributed values with
13
13
/// a long period.
14
- get-insecure-random-bytes : func (len : u64 ) -> list <u8 >
14
+ get-insecure-random-bytes : func (len : u64 ) -> list <u8 >;
15
15
16
16
/// Return an insecure pseudo-random `u64` value.
17
17
///
18
18
/// This function returns the same type of pseudo-random data as
19
19
/// `get-insecure-random-bytes` , represented as a `u64` .
20
- get-insecure-random-u64 : func () -> u64
20
+ get-insecure-random-u64 : func () -> u64 ;
21
21
}
Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ interface random {
15
15
/// This function must always return fresh data. Deterministic environments
16
16
/// must omit this function, rather than implementing it with deterministic
17
17
/// data.
18
- get-random-bytes : func (len : u64 ) -> list <u8 >
18
+ get-random-bytes : func (len : u64 ) -> list <u8 >;
19
19
20
20
/// Return a cryptographically-secure random or pseudo-random `u64` value.
21
21
///
22
22
/// This function returns the same type of data as `get-random-bytes` ,
23
23
/// represented as a `u64` .
24
- get-random-u64 : func () -> u64
24
+ get-random-u64 : func () -> u64 ;
25
25
}
Original file line number Diff line number Diff line change 1
- package wasi : random
1
+ package wasi : random ;
2
2
3
3
world imports {
4
- import random
5
- import insecure
6
- import insecure-seed
4
+ import random ;
5
+ import insecure ;
6
+ import insecure-seed ;
7
7
}
You can’t perform that action at this time.
0 commit comments