上游 · Kotlin compiler options · Native
-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)
Produce an application for running unit tests without an explicit process exit.
-include-binary path (-ib path )
Pack external binary within the generated klib file.