From ee66a8da75daf114ce5f0f633de6b6b827f9dc9a Mon Sep 17 00:00:00 2001 From: 17999824wyj Date: Fri, 29 Aug 2025 18:50:56 +0800 Subject: [PATCH] add support for riscv64 Co-authored-by: gong-flying --- src/main/java/com/github/os72/protocjar/PlatformDetector.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/github/os72/protocjar/PlatformDetector.java b/src/main/java/com/github/os72/protocjar/PlatformDetector.java index 7a99348..94986b9 100644 --- a/src/main/java/com/github/os72/protocjar/PlatformDetector.java +++ b/src/main/java/com/github/os72/protocjar/PlatformDetector.java @@ -217,6 +217,9 @@ private static String normalizeArch(String value) { if ("s390x".equals(value)) { return "s390_64"; } + if ("riscv64".equals(value)) { + return "riscv64"; + } return UNKNOWN; }