Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 465 Bytes

README.md

File metadata and controls

25 lines (13 loc) · 465 Bytes

Kotlin-native backend

Download dependencies:

./gradlew dependencies:update

Then build the compiler:

./gradlew dist

After that you should be able to compile your programs like that:

./dist/bin/konanc hello.kt -o hello

For an optimized compilation use -opt:

./dist/bin/konanc hello.kt -o hello -opt

For some tests, use:

./gradlew backend.native:tests:run

To run blackbox compiler tests from JVM Kotlin use (takes time):

./gradlew run_external