Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 1 | From 3a3bd8475f93d54cb5bb62d239247fef2e03a733 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 5 Mar 2022 00:37:01 -0800 |
| 4 | Subject: [PATCH] linux.rs: Define consts for rv32 architecture |
| 5 | |
| 6 | Upstream-Status: Submitted [https://github.com/nix-rust/nix/pull/1669] |
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 8 | --- |
| 9 | src/sys/ioctl/linux.rs | 1 + |
| 10 | 1 file changed, 1 insertion(+) |
| 11 | |
| 12 | diff --git a/src/sys/ioctl/linux.rs b/src/sys/ioctl/linux.rs |
| 13 | index 68ebaba..08cd0c3 100644 |
| 14 | --- a/src/sys/ioctl/linux.rs |
| 15 | +++ b/src/sys/ioctl/linux.rs |
| 16 | @@ -34,6 +34,7 @@ mod consts { |
| 17 | target_arch = "s390x", |
| 18 | target_arch = "x86_64", |
| 19 | target_arch = "aarch64", |
| 20 | + target_arch = "riscv32", |
| 21 | target_arch = "riscv64"))] |
| 22 | mod consts { |
| 23 | #[doc(hidden)] |
| 24 | -- |
| 25 | 2.35.1 |
| 26 | |