diff options
| author | Alistair Francis <alistair.francis@wdc.com> | 2020-09-16 08:45:08 -0700 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2020-09-16 08:45:08 -0700 |
| commit | cf075355da15c9fb0b1c975649dd13759a78a2bd (patch) | |
| tree | dc2bbf3804f121722b317e4e2c110bb9d72c53ae /library/std/src/sys_common | |
| parent | cd066c9debeace035d02867a5b5b2d72197f1831 (diff) | |
| download | rust-cf075355da15c9fb0b1c975649dd13759a78a2bd.tar.gz rust-cf075355da15c9fb0b1c975649dd13759a78a2bd.zip | |
library/std: sys_common: Add support for RISC-V 32-bit
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'library/std/src/sys_common')
| -rw-r--r-- | library/std/src/sys_common/alloc.rs | 3 |
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( |
