Skip to content

Commit

Permalink
add env to gradle instead
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonwatson committed Jul 26, 2024
1 parent a3cc53e commit d5b3931
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dependencies {
}

task buildRustWindows(type: Exec) {
environment 'PATH', System.getenv('PATH') + ";/home/jitpack/xpack-mingw-w64-gcc-13.3.0-1/x86_64-w64-mingw32/bin"
commandLine System.properties['user.home'] + '/.cargo/bin/cargo', 'build', '--target', 'x86_64-pc-windows-gnu', '--release'
}

Expand Down

0 comments on commit d5b3931

Please sign in to comment.