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)
52
52
printf (" --multi-tier-jit Run the wasm app with multi-tier jit mode\n" );
53
53
#endif
54
54
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
56
60
#if WASM_ENABLE_FAST_JIT != 0
57
61
printf (" --jit-codecache-size=n Set fast jit maximum code cache size in bytes,\n" );
58
62
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()
44
44
printf (" --multi-tier-jit Run the wasm app with multi-tier jit mode\n" );
45
45
#endif
46
46
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
48
52
#if WASM_ENABLE_GC != 0
49
53
printf (" --gc-heap-size=n Set maximum gc heap size in bytes,\n" );
50
54
printf (" default is %u KB\n" , GC_HEAP_SIZE_DEFAULT / 1024 );
You can’t perform that action at this time.
0 commit comments