1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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

This commit is contained in:
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

View File

@ -96,6 +96,12 @@ NB: the build flags are shared with the run command too:
-profile-no-inline
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
Enable more detailed statistics reporting, while compiling test files.
You can use that with `v test` too, for example: