Skip to content

Commit

Permalink
tools: add missing uv_setup_argv() calls
Browse files Browse the repository at this point in the history
Refs: #34751

PR-URL: #35491
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
addaleax authored and MylesBorins committed Nov 16, 2020
1 parent b5f7525 commit 0955267
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
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
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 0955267

Please sign in to comment.