diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyruvate/0001-linux.rs-Define-consts-for-rv32-architecture.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pyruvate/0001-linux.rs-Define-consts-for-rv32-architecture.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyruvate/0001-linux.rs-Define-consts-for-rv32-architecture.patch b/meta-python/recipes-devtools/python/python3-pyruvate/0001-linux.rs-Define-consts-for-rv32-architecture.patch new file mode 100644 index 0000000000..a2d4091a95 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyruvate/0001-linux.rs-Define-consts-for-rv32-architecture.patch | |||
@@ -0,0 +1,26 @@ | |||
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 | |||