We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce68a25 commit 3073c5dCopy full SHA for 3073c5d
tools/parallel-benchmark/nob.c
@@ -66,6 +66,11 @@ bool single_build(Config config)
66
const char *worker_type = config.worker_type;
67
size_t worker_count = config.worker_count;
68
size_t max_procs = config.max_procs;
69
+#ifdef _WIN32
70
+ const char *worker_path = temp_sprintf(BUILD_FOLDER"%s.exe", worker_type);
71
+#else
72
+ const char *worker_path = temp_sprintf(BUILD_FOLDER"%s", worker_type);
73
+#endif
74
75
for (size_t i = 0; i < worker_count; ++i) {
76
cmd_append(&cmd, worker_path);
0 commit comments