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 <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
addaleax authored and nodejs-github-bot committed Oct 6, 2020
1 parent 642f206 commit b5490d0
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 b5490d0

Please sign in to comment.