Skip to content

Commit

Permalink
Fix issue in settings.gradle.kts configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Deftu committed Nov 12, 2024
1 parent 04c7c4f commit fcf3e3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ rootProject.name = extra["project.name"]?.toString() ?: throw MissingPropertyExc
include("rust")


val osName = OperatingSystem.current().familyName.lowercase()
val osName = OperatingSystem.current().familyName.lowercase().replace(" ", "-")
mapOf(
"windows" to listOf("x64", "x86"),
"linux" to listOf("x64", "x86", "arm", "arm64"),
"os x" to listOf("x64", "arm64")
"os-x" to listOf("x64", "arm64")
)[osName]?.forEach { arch ->
val target = "$osName-$arch"

Expand Down

0 comments on commit fcf3e3d

Please sign in to comment.