Skip to content

Commit 89276e3

Browse files
committed
Fix buildscript
1 parent 3baa231 commit 89276e3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

common/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ supportedTargets.forEach { target ->
126126
group = 'rust'
127127
workingDir rustProjectDir
128128
description = "Cross-compiles natives for the ${target.triple} target"
129-
commandLine = commandLineForTarget(target, '--release')
129+
commandLine = commandLineForTarget(target)
130130
commandLine.add('--release')
131131
}
132132
}
@@ -194,10 +194,10 @@ tasks.register('packRustNatives', Tar) {
194194
from(file("${nativesDir}/${f}")) { eachFile { setPath f } }
195195
}
196196
doLast {
197-
byte[] bytes = Files.readAllBytes(getArchiveFile().get().asFile.toPath());
197+
byte[] bytes = Files.readAllBytes(getArchiveFile().get().asFile.toPath())
198198
try (var f = new FileOutputStream(getArchiveFile().get().asFile)) {
199199
try (var x = new XZOutputStream(f, new LZMA2Options(LZMA2Options.PRESET_MAX))) {
200-
x.write(bytes);
200+
x.write(bytes)
201201
}
202202
}
203203
supportedTargets.forEach { t ->

0 commit comments

Comments
 (0)