From f90a24da8262aeb549aa4b0766aa59affc0192be Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Thu, 20 Jul 2023 13:04:54 +0400 Subject: [PATCH] Bugfix: proc-macro2 (used in reqwest4j) --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 6d08f71..abb209c 100755 --- a/build.sh +++ b/build.sh @@ -67,7 +67,8 @@ fi export RUSTFLAGS="-C target-feature=-crt-static" title 'Building reqwest-jni' -cd_and_exec reqwest4j/reqwest-jni cargo build --release +cd_and_exec reqwest4j/reqwest-jni \ + cargo build --release --target x86_64-unknown-linux-musl title 'Building reqwest4j without Rust library...' cd_and_exec reqwest4j ./gradlew shadowJar