Kotlin/Native target support

Edit pageLast modified: 27 November 2024

The Kotlin/Native compiler supports a great number of different targets, though it is hard to provide the same level of support for all of them. This document describes which targets Kotlin/Native supports and breaks them into several tiers depending on how well the compiler supports them.

Mind the following terms used in tier tables:

  • Gradle target name is a target name that is used in the Kotlin Multiplatform Gradle plugin to enable the target.

  • Target triple is a target name according to the <architecture>-<vendor>-<system>-<abi> structure that is commonly used by compilers.

  • Running tests indicates out of the box support for running tests in Gradle and IDE.

    This is only available on a native host for the specific target. For example, you can run macosX64 and iosX64 tests only on macOS x86-64 host.