File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
site/source/docs/tools_reference Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -321,6 +321,8 @@ Options that are modified or new in *emcc* are listed below:
321
321
322
322
"--post-js <file>"
323
323
[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.
324
326
325
327
"--extern-pre-js <file>"
326
328
[link] Specify a file whose contents are prepended to the
Original file line number Diff line number Diff line change @@ -305,9 +305,9 @@ Options that are modified or new in *emcc* are listed below:
305
305
306
306
``--post-js <file> ``
307
307
[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.
311
311
312
312
``--extern-pre-js <file> ``
313
313
[link]
You can’t perform that action at this time.
0 commit comments