Skip to content

Commit 84fe26c

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

File tree

1 file changed

+2
-1
lines changed
  • library/std/src/os/linux

1 file changed

+2
-1
lines changed

library/std/src/os/linux/raw.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ mod arch {
234234
target_arch = "mips64",
235235
target_arch = "s390x",
236236
target_arch = "sparc64",
237-
target_arch = "riscv64"
237+
target_arch = "riscv64",
238+
target_arch = "riscv32"
238239
))]
239240
mod arch {
240241
pub use libc::{blkcnt_t, blksize_t, ino_t, nlink_t, off_t, stat, time_t};

0 commit comments

Comments
 (0)