File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,11 @@ print_help(void)
5252 printf (" --multi-tier-jit Run the wasm app with multi-tier jit mode\n" );
5353#endif
5454 printf (" --stack-size=n Set maximum stack size in bytes, default is 64 KB\n" );
55- printf (" --heap-size=n Set maximum heap size in bytes, default is 16 KB\n" );
55+ #if WASM_ENABLE_LIBC_WASI != 0
56+ printf (" --heap-size=n Set maximum heap size in bytes, default is 0 KB when libc wasi is enabled\n" );
57+ #else
58+ printf (" --heap-size=n Set maximum heap size in bytes, default is 16 KB when libc wasi is diabled\n" );
59+ #endif
5660#if WASM_ENABLE_FAST_JIT != 0
5761 printf (" --jit-codecache-size=n Set fast jit maximum code cache size in bytes,\n" );
5862 printf (" default is %u KB\n" , FAST_JIT_DEFAULT_CODE_CACHE_SIZE / 1024 );
Original file line number Diff line number Diff line change @@ -44,7 +44,11 @@ print_help()
4444 printf (" --multi-tier-jit Run the wasm app with multi-tier jit mode\n" );
4545#endif
4646 printf (" --stack-size=n Set maximum stack size in bytes, default is 64 KB\n" );
47- printf (" --heap-size=n Set maximum heap size in bytes, default is 16 KB\n" );
47+ #if WASM_ENABLE_LIBC_WASI != 0
48+ printf (" --heap-size=n Set maximum heap size in bytes, default is 0 KB when libc wasi is enabled\n" );
49+ #else
50+ printf (" --heap-size=n Set maximum heap size in bytes, default is 16 KB when libc wasi is diabled\n" );
51+ #endif
4852#if WASM_ENABLE_GC != 0
4953 printf (" --gc-heap-size=n Set maximum gc heap size in bytes,\n" );
5054 printf (" default is %u KB\n" , GC_HEAP_SIZE_DEFAULT / 1024 );
You can’t perform that action at this time.
0 commit comments