From 84fe26c4d33924d2195af4324f036b64709baba2 Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Wed, 16 Sep 2020 08:43:54 -0700 Subject: [PATCH] library/std: linux: Add support for RISC-V 32-bit Signed-off-by: Alistair Francis --- library/std/src/os/linux/raw.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/std/src/os/linux/raw.rs b/library/std/src/os/linux/raw.rs index a007fd2b6be0..4ff3a6e57898 100644 --- a/library/std/src/os/linux/raw.rs +++ b/library/std/src/os/linux/raw.rs @@ -234,7 +234,8 @@ mod arch { target_arch = "mips64", target_arch = "s390x", target_arch = "sparc64", - target_arch = "riscv64" + target_arch = "riscv64", + target_arch = "riscv32" ))] mod arch { pub use libc::{blkcnt_t, blksize_t, ino_t, nlink_t, off_t, stat, time_t};