chore: reuse defaultArchList (#6978)

This commit is contained in:
Amr Bashir 2023-05-17 02:08:05 +03:00 committed by GitHub
parent e5bd34cb34
commit 994e4fd6d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ open class RustPlugin : Plugin<Project> {
val abiList = (findProperty("abiList") as? String)?.split(',') ?: defaultAbiList
val defaultArchList = listOf({{quote-and-join arch-list}});
val archList = (findProperty("archList") as? String)?.split(',') ?: listOf({{quote-and-join arch-list}})
val archList = (findProperty("archList") as? String)?.split(',') ?: defaultArchList
val targetsList = (findProperty("targetList") as? String)?.split(',') ?: listOf({{quote-and-join target-list}})