File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ print_help()
67
67
printf (" --module-path=<path> Indicate a module search path. default is current\n"
68
68
" directory('./')\n" );
69
69
#endif
70
- #if WASM_ENABLE_LIB_PTHREAD != 0
70
+ #if WASM_ENABLE_LIB_PTHREAD != 0 || WASM_ENABLE_LIB_WASI_THREADS != 0
71
71
printf (" --max-threads=n Set maximum thread number per cluster, default is 4\n" );
72
72
#endif
73
73
#if WASM_ENABLE_DEBUG_INTERP != 0
@@ -499,7 +499,7 @@ main(int argc, char *argv[])
499
499
}
500
500
}
501
501
#endif
502
- #if WASM_ENABLE_LIB_PTHREAD != 0
502
+ #if WASM_ENABLE_LIB_PTHREAD != 0 || WASM_ENABLE_LIB_WASI_THREADS != 0
503
503
else if (!strncmp (argv [0 ], "--max-threads=" , 14 )) {
504
504
if (argv [0 ][14 ] == '\0' )
505
505
return print_help ();
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ print_help()
43
43
printf (" --module-path=<path> Indicate a module search path. default is current\n"
44
44
" directory('./')\n" );
45
45
#endif
46
- #if WASM_ENABLE_LIB_PTHREAD != 0
46
+ #if WASM_ENABLE_LIB_PTHREAD != 0 || WASM_ENABLE_LIB_WASI_THREADS != 0
47
47
printf (" --max-threads=n Set maximum thread number per cluster, default is 4\n" );
48
48
#endif
49
49
#if WASM_ENABLE_DEBUG_INTERP != 0
@@ -317,7 +317,7 @@ main(int argc, char *argv[])
317
317
}
318
318
}
319
319
#endif
320
- #if WASM_ENABLE_LIB_PTHREAD != 0
320
+ #if WASM_ENABLE_LIB_PTHREAD != 0 || WASM_ENABLE_LIB_WASI_THREADS != 0
321
321
else if (!strncmp (argv [0 ], "--max-threads=" , 14 )) {
322
322
if (argv [0 ][14 ] == '\0' )
323
323
return print_help ();
You can’t perform that action at this time.
0 commit comments