Hello, I’m a bit new to Kotlin Native. I have a very simple example project set up using Gradle as the build system. I’m using the following build.gradle.kts
script:
plugins {
kotlin("multiplatform") version "1.5.30"
}
defaultTasks("clean", "build")
repositories {
mavenCentral()
}
kotlin {
val nativeTarget = linuxArm64("native")
nativeTarget.apply {
binaries {
executable {
entryPoint = "main"
}
}
}
sourceSets {
val nativeMain by getting
val nativeTest by getting
}
}
Building the script above with Gradle 7.2 on Raspberry PI 3B aarch64 with Ubuntu 21.04 fails with:
java.lang.ExceptionInInitializerError (no error message)
> Unknown host target: linux aarch64
Does it mean that ARM64 is not supported by Kotlin Native at this moment please?