From cf075355da15c9fb0b1c975649dd13759a78a2bd Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Wed, 16 Sep 2020 08:45:08 -0700 Subject: [PATCH] library/std: sys_common: Add support for RISC-V 32-bit Signed-off-by: Alistair Francis --- library/std/src/sys_common/alloc.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/std/src/sys_common/alloc.rs b/library/std/src/sys_common/alloc.rs index c66941007859..f22476be3256 100644 --- a/library/std/src/sys_common/alloc.rs +++ b/library/std/src/sys_common/alloc.rs @@ -14,7 +14,8 @@ use crate::ptr; target_arch = "powerpc64", target_arch = "asmjs", target_arch = "wasm32", - target_arch = "hexagon" + target_arch = "hexagon", + target_arch = "riscv32" )))] pub const MIN_ALIGN: usize = 8; #[cfg(all(any(