Skip to content

Commit

Permalink
fixup! Wasm runtime: implement more system primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
vouillon committed Feb 5, 2025
1 parent a88c5a1 commit e816318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/js/unix.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ function caml_unix_access(name, flags) {
if (!root.device.access) {
caml_failwith("caml_unix_access: not implemented");
}
root.device.access(name, f, /* raise Unix_error */ true);
root.device.access(root.rest, f, /* raise Unix_error */ true);
return 0;
}

Expand Down

0 comments on commit e816318

Please sign in to comment.