Skip to content

Commit

Permalink
tools: add missing uv_setup_argv() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Oct 4, 2020
1 parent f83f683 commit e8a56e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/code_cache/mkcodecache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ using v8::Local;
int wmain(int argc, wchar_t* argv[]) {
#else // UNIX
int main(int argc, char* argv[]) {
argv = uv_setup_args(argc, argv);
#endif // _WIN32

v8::V8::SetFlagsFromString("--random_seed=42");
Expand Down
1 change: 1 addition & 0 deletions tools/snapshot/node_mksnapshot.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
int wmain(int argc, wchar_t* argv[]) {
#else // UNIX
int main(int argc, char* argv[]) {
argv = uv_setup_args(argc, argv);
#endif // _WIN32

v8::V8::SetFlagsFromString("--random_seed=42");
Expand Down

0 comments on commit e8a56e7

Please sign in to comment.