File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ->
You can’t perform that action at this time.
0 commit comments