Skip to content

Commit

Permalink
Merge pull request '#95' into feat/wasi_nn
Browse files Browse the repository at this point in the history
  • Loading branch information
L-jasmine committed Jan 16, 2023
2 parents d724d6b + 9933c67 commit f31efaf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
9 changes: 1 addition & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/internal_module/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ fn freaddir_sync(ctx: &mut Context, _this_val: JsValue, arg: &[JsValue]) -> JsVa
*(&buf[idx..(idx + s)] as *const [u8] as *const wasi_fs::Dirent)
};
idx += s;
if (idx + dir.d_namlen as usize) >= len.min(4096) {
if (idx + dir.d_namlen as usize) > len.min(4096) {
break;
}
let name =
Expand Down
1 change: 1 addition & 0 deletions wasm_pm/jspm-core
Submodule jspm-core added at c021d8

0 comments on commit f31efaf

Please sign in to comment.