Fixed build when not using cross
This commit is contained in:
parent
55730886d2
commit
c15bf627c1
@ -236,7 +236,7 @@ fun buildRust() {
|
||||
binary, "build", "--release", "--features=uniffi/cli",
|
||||
)
|
||||
|
||||
if (currentOs() == OS.LINUX) {
|
||||
if (currentOs() == OS.LINUX && useCross) {
|
||||
if (isLinuxAarch64) {
|
||||
params.add("--target=$linuxArmTarget")
|
||||
} else {
|
||||
@ -252,7 +252,7 @@ fun buildRust() {
|
||||
fun copyRustBuild() {
|
||||
val outputDir = "${buildDir}/classes/kotlin/main"
|
||||
|
||||
val workingDirPath = if (currentOs() == OS.LINUX) {
|
||||
val workingDirPath = if (currentOs() == OS.LINUX && useCross) {
|
||||
if (isLinuxAarch64) {
|
||||
"rs/target/$linuxArmTarget/release"
|
||||
} else {
|
||||
|
@ -466,7 +466,6 @@ fun CommitsList(
|
||||
val xScroll = pointerEvent.changes.map { it.scrollDelta.x }.sum()
|
||||
horizontalScrollState.scrollBy(xScroll * HORIZONTAL_SCROLL_PIXELS_MULTIPLIER)
|
||||
}
|
||||
println(pointerEvent)
|
||||
},
|
||||
) {
|
||||
if (
|
||||
|
Loading…
Reference in New Issue
Block a user