-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix _scriptDir for node.js + USE_PTHREADS + MODULARIZE (#9875)
node.js doesn't have document.currentScript.src, so use __filename instead.
- Loading branch information
1 parent
0a1d02d
commit e7ef5b2
Showing
2 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Looks like
exist_ok
doesn't exist everywhere. At least its break the emscripten-releases bot:https://chromium-review.googlesource.com/c/emscripten-releases/+/1941289
https://logs.chromium.org/logs/emscripten-releases/buildbucket/cr-buildbucket.appspot.com/8895588172158402352/+/steps/Emscripten_testsuite__upstream__other_/0/stdout