diff options
author | Alon Zakai <azakai@google.com> | 2022-02-03 14:12:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 14:12:45 -0800 |
commit | e6f15747d1e3557cfff87c3149e91e3dbd0ff6c7 (patch) | |
tree | 5d26b6def557a45a3165ed8a7493ab3eb4a22b23 /src | |
parent | 9800178d7cfdb336fb5bac34f0d9844639f3a9cc (diff) | |
download | binaryen-e6f15747d1e3557cfff87c3149e91e3dbd0ff6c7.tar.gz binaryen-e6f15747d1e3557cfff87c3149e91e3dbd0ff6c7.tar.bz2 binaryen-e6f15747d1e3557cfff87c3149e91e3dbd0ff6c7.zip |
[Docs] Document wasm-ctor-eval (#4493)
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/wasm-ctor-eval.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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", |