blob: 0f159c60254f567b41e7400599d1c78373bb6aea [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001From bd805ef63035ecefa03f67d5ab2e1d79f7daf9bc Mon Sep 17 00:00:00 2001
2From: Ralf Anton Beier <ralf_beier@me.com>
3Date: Sun, 8 Aug 2021 11:07:21 +0200
4Subject: [PATCH 2/4] FIXUP: linux/musl/mod.rs: add riscv64 to b64 set
5
6https://github.com/rust-lang/libc/pull/1994/commits/30070c822be2ef399b2ba38cdc1d72ac694d65a3
7
8Upstream-Status: Submitted [https://github.com/rust-lang/libc/pull/2537]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10Signed-off-by: Ralf Anton Beier <ralf_beier@me.com>
11---
12 vendor/libc/src/unix/linux_like/linux/musl/mod.rs | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
14
15diff --git a/vendor/libc/src/unix/linux_like/linux/musl/mod.rs b/vendor/libc/src/unix/linux_like/linux/musl/mod.rs
16index df596e968..1ab13a712 100644
17--- a/vendor/libc/src/unix/linux_like/linux/musl/mod.rs
18+++ b/vendor/libc/src/unix/linux_like/linux/musl/mod.rs
19@@ -765,7 +765,8 @@ cfg_if! {
20 target_arch = "aarch64",
21 target_arch = "mips64",
22 target_arch = "powerpc64",
23- target_arch = "s390x"))] {
24+ target_arch = "s390x",
25+ target_arch = "riscv64"))] {
26 mod b64;
27 pub use self::b64::*;
28 } else if #[cfg(any(target_arch = "x86",
29--
302.20.1
31