Skip to content

Commit cf07535

Browse files
committed
library/std: sys_common: Add support for RISC-V 32-bit
Signed-off-by: Alistair Francis <[email protected]>
1 parent cd066c9 commit cf07535

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/std/src/sys_common/alloc.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ use crate::ptr;
1414
target_arch = "powerpc64",
1515
target_arch = "asmjs",
1616
target_arch = "wasm32",
17-
target_arch = "hexagon"
17+
target_arch = "hexagon",
18+
target_arch = "riscv32"
1819
)))]
1920
pub const MIN_ALIGN: usize = 8;
2021
#[cfg(all(any(

0 commit comments

Comments
 (0)