From 4415694354ed02045b3d86d8d68135736bd64bb0 Mon Sep 17 00:00:00 2001 From: Moritz Scheuerle <68465911+Plixo2@users.noreply.github.com> Date: Mon, 28 Apr 2025 00:57:32 +0200 Subject: [PATCH 1/2] add missing gradle dependency --- Readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Readme.md b/Readme.md index 0b4b173..018b4b9 100644 --- a/Readme.md +++ b/Readme.md @@ -83,6 +83,7 @@ All examples live in `tests/binary` and are compiled to JVM bytecode & run/teste ## 🛠 Prerequisites - **Rust Nightly** (`rustup default nightly`) +- **Gradle 8.5+** (`gradle` in PATH) - **JDK 8+** (`java` in PATH, and the `JAVA_HOME` environment variable set) - **Python 3** (`python3` in PATH) From fb8506ab8216456535108563614d5af4bcd206cc Mon Sep 17 00:00:00 2001 From: Moritz Scheuerle <68465911+Plixo2@users.noreply.github.com> Date: Mon, 28 Apr 2025 00:59:39 +0200 Subject: [PATCH 2/2] silence cargo build warnings on initial build --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7b99e5f..17a32cf 100644 --- a/Makefile +++ b/Makefile @@ -52,11 +52,11 @@ rust-components: ifeq ($(IS_CI),1) rust: $(SHIM_METADATA_GEN_DIR)/core.json @echo "$(CYAN)📦 Building Rust root project...$(RESET)" - cargo build + RUSTFLAGS="-Awarnings" cargo build else rust: $(SHIM_METADATA_GEN_DIR)/core.json rust-components @echo "$(CYAN)📦 Building Rust root project...$(RESET)" - cargo build + RUSTFLAGS="-Awarnings" cargo build endif clean-rust: @@ -66,7 +66,7 @@ clean-rust: # === Java Linker Subproject === java-linker: @echo "$(CYAN)📦 Building Java Linker...$(RESET)" - cd $(JAVA_LINKER_DIR) && cargo build + cd $(JAVA_LINKER_DIR) && RUSTFLAGS="-Awarnings" cargo build clean-java-linker: @echo "$(CYAN)🧹 Cleaning Java Linker...$(RESET)"