Skip to content

Commit

Permalink
fix(loader): reverting change as Date.now is overridden to be an incr…
Browse files Browse the repository at this point in the history
…ementing deterministic num
  • Loading branch information
PeterFarber committed Sep 9, 2024
1 parent d4b80a9 commit ddeb4d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion loader/src/formats/emscripten3.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4182,7 +4182,7 @@ const Module = (() => {
abort("native code called abort()");
};

var _emscripten_date_now = () => 0;
var _emscripten_date_now = () => Date.now();

var getHeapMax = () => 4294901760;

Expand Down
2 changes: 1 addition & 1 deletion loader/src/formats/emscripten4.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4084,7 +4084,7 @@ var Module = (() => {
}
};

var _emscripten_date_now = () => 0;
var _emscripten_date_now = () => Date.now();

var getHeapMax = () => 4294901760;

Expand Down
2 changes: 1 addition & 1 deletion loader/src/formats/wasm64-emscripten.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4080,7 +4080,7 @@ function __asyncjs__weavedrive_close(fd) {
}
};

var _emscripten_date_now = () => 0;
var _emscripten_date_now = () => Date.now();

function _emscripten_err(str) {
str = bigintToI53Checked(str);
Expand Down

0 comments on commit ddeb4d3

Please sign in to comment.