help: document `-skip-unused` in the `v help` output.

pull/12256/head
Delyan Angelov 2021-10-21 16:32:57 +03:00
parent 1ba839dc3b
commit a85707246f
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 6 additions and 0 deletions

View File

@ -96,6 +96,12 @@ NB: the build flags are shared with the run command too:
-profile-no-inline -profile-no-inline
Skip [inline] functions when profiling. Skip [inline] functions when profiling.
-skip-unused
Skip generating C/JS code for functions, that are provably not used by your project.
This speeds up compilation, and reduces the generated output size.
It is still experimental, due to historical reasons, but please do try it,
and report issues, if compilation breaks with that option for your program.
-stats -stats
Enable more detailed statistics reporting, while compiling test files. Enable more detailed statistics reporting, while compiling test files.
You can use that with `v test` too, for example: You can use that with `v test` too, for example: