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)" 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)