From a09210adf529842b912db6f69ad9858ad2f90e16 Mon Sep 17 00:00:00 2001 From: Xeonacid Date: Mon, 22 Dec 2025 18:36:40 +0800 Subject: [PATCH] Set fast_arithmetic=64 for riscv64 riscv64 also has an ilp32 variant[1][2]. [1] https://github.com/ruyisdk/riscv-gnu-toolchain-rv64ilp32 [2] https://fedoraproject.org/wiki/Architectures/RISC-V/64ILP32 --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index 29907ea..bbf4a74 100644 --- a/build.rs +++ b/build.rs @@ -13,6 +13,7 @@ fn main() { || target_arch == "loongarch64" || target_arch == "mips64" || target_arch == "powerpc64" + || target_arch == "riscv64" || target_arch == "wasm32" || target_arch == "x86_64" || target_pointer_width == "64"