From af3cc091cbe0f67caaace7515a453bda7e0846f1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 10 Dec 2025 12:10:03 -0800 Subject: [PATCH] Define ALIGNOF_MAX_ALIGN_T for riscv32 Max alignment per RISCV ABI is 16-bytes for both RV32 and RV64 Signed-off-by: Khem Raj --- jemallocator/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/jemallocator/src/lib.rs b/jemallocator/src/lib.rs index 81f7949cb..69a9f3b75 100644 --- a/jemallocator/src/lib.rs +++ b/jemallocator/src/lib.rs @@ -51,6 +51,7 @@ const ALIGNOF_MAX_ALIGN_T: usize = 8; target_arch = "powerpc64", target_arch = "loongarch64", target_arch = "mips64", + target_arch = "riscv32", target_arch = "riscv64", target_arch = "s390x", target_arch = "sparc64"