diff --git a/build.gradle b/build.gradle index 047e0b3..6cfb393 100755 --- a/build.gradle +++ b/build.gradle @@ -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' }