Skip to content

Commit

Permalink
Add sock_accept stub
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJeremyHe committed May 10, 2024
1 parent 5d84272 commit 96e0e65
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arbitrator/wasm-libraries/wasi-stub/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,8 @@ pub unsafe extern "C" fn wasi_snapshot_preview1__path_rename(
pub unsafe extern "C" fn wasi_snapshot_preview1__path_unlink_file(_: i32, _: i32, _: i32) -> u16 {
ERRNO_BADF
}

#[no_mangle]
pub unsafe extern "C" fn wasi_snapshot_preview1__sock_accept(_: i32, _: i32, _: i32) -> u16 {
ERRNO_BADF
}

0 comments on commit 96e0e65

Please sign in to comment.