Skip to content

Commit b3aebfa

Browse files
committed
docs
1 parent d046e23 commit b3aebfa

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/emcc.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,8 @@ Options that are modified or new in *emcc* are listed below:
321321

322322
"--post-js <file>"
323323
[link] Like "--pre-js", but emits a file *after* the emitted code.
324+
In addition to being located after the emitted JS library code,
325+
--post-js code will also execute only after main() has run.
324326

325327
"--extern-pre-js <file>"
326328
[link] Specify a file whose contents are prepended to the

site/source/docs/tools_reference/emcc.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,9 @@ Options that are modified or new in *emcc* are listed below:
305305

306306
``--post-js <file>``
307307
[link]
308-
Like ``--pre-js``, but emits a file *after* the emitted code. In addition to
309-
this code being located after the emitted JS library code, this code will also
310-
be executed after main() has run.
308+
Like "--pre-js", but emits a file *after* the emitted code. In addition to
309+
being located after the emitted JS library code, --post-js code will also
310+
execute only after main() has run.
311311

312312
``--extern-pre-js <file>``
313313
[link]

0 commit comments

Comments
 (0)