Skip to content

Commit a7d9d43

Browse files
committed
Add random_get stub in wasi_snapshot_preview1
1 parent 7718708 commit a7d9d43

File tree

1 file changed

+5
-0
lines changed
  • arbitrator/wasm-libraries/wasi-stub/src

1 file changed

+5
-0
lines changed

arbitrator/wasm-libraries/wasi-stub/src/lib.rs

+5
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,8 @@ pub unsafe extern "C" fn wasi_snapshot_preview1__fd_prestat_dir_name(
117117
pub unsafe extern "C" fn wasi_snapshot_preview1__sched_yield() -> u16 {
118118
ERRNO_BADF
119119
}
120+
121+
#[no_mangle]
122+
pub unsafe extern "C" fn wasi_snapshot_preview1__random_get(_: i32, _: i32) -> u16 {
123+
ERRNO_BADF
124+
}

0 commit comments

Comments
 (0)