From 4b702ab19448467837544abffca73d16a8d7d1f6 Mon Sep 17 00:00:00 2001 From: wilsonwatson Date: Fri, 26 Jul 2024 02:39:57 -0500 Subject: [PATCH] trying stuff out at this point --- .cargo/config.toml | 3 +++ build.gradle | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..9595b4e --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,3 @@ + +[target.x86_64-pc-windows-gnullvm] +# linker = "/home/jitpack/xpack-mingw-w64-gcc-13.3.0-1/bin" diff --git a/build.gradle b/build.gradle index 19ec96d..c36c9e1 100755 --- a/build.gradle +++ b/build.gradle @@ -30,7 +30,13 @@ dependencies { implementation 'org.apache.commons:commons-lang3:3.15.0' } +task printEverything(type: Exec) { + workingDir '/home/jitpack' + commandLine 'find', '.' +} + task buildRustWindows(type: Exec) { + dependsOn('printEverything') environment 'PATH', System.getenv('PATH') + ":/home/jitpack/xpack-mingw-w64-gcc-13.3.0-1/bin" commandLine System.properties['user.home'] + '/.cargo/bin/cargo', 'build', '--target', 'x86_64-pc-windows-gnu', '--release' }