From e6f15747d1e3557cfff87c3149e91e3dbd0ff6c7 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 3 Feb 2022 14:12:45 -0800 Subject: [Docs] Document wasm-ctor-eval (#4493) --- src/tools/wasm-ctor-eval.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/tools/wasm-ctor-eval.cpp b/src/tools/wasm-ctor-eval.cpp index 271e96037..0bcf42f9c 100644 --- a/src/tools/wasm-ctor-eval.cpp +++ b/src/tools/wasm-ctor-eval.cpp @@ -17,7 +17,7 @@ // // Loads wasm plus a list of functions that are global ctors, i.e., // are to be executed. It then executes as many of them as it can, -// applying their changes to memory as needed, then writes it. In +// applying their changes to memory etc as needed, then writes it. In // other words, this executes code at compile time to speed up // startup later. // @@ -705,8 +705,7 @@ int main(int argc, const char* argv[]) { const std::string WasmCtorEvalOption = "wasm-ctor-eval options"; - ToolOptions options("wasm-ctor-eval", - "Execute C++ global constructors ahead of time"); + ToolOptions options("wasm-ctor-eval", "Execute code at compile time"); options .add("--output", "-o", -- cgit v1.2.3