From 1f52332685888f77a09c04471559138b9901196f Mon Sep 17 00:00:00 2001 From: MaxGraey Date: Sun, 7 Aug 2022 15:14:52 +0300 Subject: [PATCH 1/2] add comment about auto exportRuntime --- src/compiler.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compiler.md b/src/compiler.md index 3d813a312..4295f5811 100644 --- a/src/compiler.md +++ b/src/compiler.md @@ -96,7 +96,8 @@ There are several flags that enable or disable specific WebAssembly or compiler stub Minimal runtime stub (never frees) ... Path to a custom runtime implementation ---exportRuntime Exports the runtime helpers (__new, __collect etc.). +--exportRuntime Always exports the runtime helpers (__new, __collect etc.). + When host `bindings` is enabled it will be determined automatically. --stackSize Overrides the stack size. Only relevant for incremental GC or when using a custom runtime that requires stack space. Defaults to 0 without and to 16384 with incremental GC. From 812047ed1af91d2615e162e4a31156db21c81fd2 Mon Sep 17 00:00:00 2001 From: MaxGraey Date: Sun, 7 Aug 2022 18:33:12 +0300 Subject: [PATCH 2/2] sync with cli description --- src/compiler.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler.md b/src/compiler.md index 4295f5811..afe0758b7 100644 --- a/src/compiler.md +++ b/src/compiler.md @@ -96,8 +96,8 @@ There are several flags that enable or disable specific WebAssembly or compiler stub Minimal runtime stub (never frees) ... Path to a custom runtime implementation ---exportRuntime Always exports the runtime helpers (__new, __collect etc.). - When host `bindings` is enabled it will be determined automatically. +--exportRuntime Always exports the runtime helpers (__new, __collect, __pin etc.). + Automatically determined when generation of --bindings is enabled. --stackSize Overrides the stack size. Only relevant for incremental GC or when using a custom runtime that requires stack space. Defaults to 0 without and to 16384 with incremental GC.