From a6c845d0210134a9343d541e94dbabf937af304f Mon Sep 17 00:00:00 2001 From: Chris Wailes Date: Tue, 20 Jun 2023 09:51:59 -0700 Subject: [PATCH] Add definitions for riscv64_linux_android target --- std/src/os/android/raw.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/src/os/android/raw.rs b/std/src/os/android/raw.rs index daaf3d3ea..175f8eac9 100644 --- a/std/src/os/android/raw.rs +++ b/std/src/os/android/raw.rs @@ -89,7 +89,7 @@ mod arch { } } -#[cfg(target_arch = "aarch64")] +#[cfg(any(target_arch = "aarch64", target_arch = "riscv64"))] mod arch { use crate::os::raw::{c_int, c_long, c_uint, c_ulong}; use crate::os::unix::raw::{gid_t, uid_t};