上游 · Kotlin compiler options · Native
In addition to the common options , Kotlin/Native compiler has the options listed below.
-enable-assertions (-ea)
Enable runtime assertions in the generated code.
-entry name (-e name )
Specify the qualified entry point name.
-g
Enable emitting debug information. This option lowers the optimization level and should not be combined with the -opt option.
-generate-test-runner (-tr)
Produce an application for running unit tests from the project.
-generate-no-exit-test-runner (-trn)…