kotlin-desktop-toolkit/src/main/kotlin/org/jetbrains/desktop/linux/KotlinDesktopToolkit.kt [34:52]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - private fun requiredProperty(propertyName: String): String { return System.getProperty(propertyName) ?: throw Error("Please specify $propertyName or pass args explicitly to library init") } private fun isAarch64(): Boolean { val arch = System.getProperty("os.arch") return "aarch64" == arch || "arm64" == arch } /** * See `CompileRustTask.kt` if you would like to change this logic. */ private fun libraryName(useDebugBuild: Boolean): String { val targetSuffix = when { isAarch64() -> "arm64" else -> "x64" } val debugSuffix = if (useDebugBuild) "+debug" else "" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - kotlin-desktop-toolkit/src/main/kotlin/org/jetbrains/desktop/win32/KotlinDesktopToolkit.kt [34:52]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - private fun requiredProperty(propertyName: String): String { return System.getProperty(propertyName) ?: throw Error("Please specify $propertyName or pass args explicitly to library init") } private fun isAarch64(): Boolean { val arch = System.getProperty("os.arch") return "aarch64" == arch || "arm64" == arch } /** * See `CompileRustTask.kt` if you would like to change this logic. */ private fun libraryName(useDebugBuild: Boolean): String { val targetSuffix = when { isAarch64() -> "arm64" else -> "x64" } val debugSuffix = if (useDebugBuild) "+debug" else "" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -