about summary refs log tree commit diff
path: root/library/std/src/sys_common/alloc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys_common/alloc.rs')
-rw-r--r--library/std/src/sys_common/alloc.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/std/src/sys_common/alloc.rs b/library/std/src/sys_common/alloc.rs
index c6694100785..f22476be325 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(