Skip to content

Commit c8fe0cf

Browse files
authored
Rollup merge of #112858 - chriswailes:riscv64-android, r=Mark-Simulacrum
Update Android system definitions and add riscv-linux-android as tier 3 target This PR includes the following: * Corrected Android system definitions for some types * Support for the riscv64-linux-android target The authoritative types for the system definitions can be found here: https://cs.android.com/android/platform/superproject/+/master:bionic/libc/include/sys/stat.h Fixes rust-lang/compiler-team#640
2 parents d1e15d5 + a6c845d commit c8fe0cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/os/android/raw.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ mod arch {
8989
}
9090
}
9191

92-
#[cfg(target_arch = "aarch64")]
92+
#[cfg(any(target_arch = "aarch64", target_arch = "riscv64"))]
9393
mod arch {
9494
use crate::os::raw::{c_int, c_long, c_uint, c_ulong};
9595
use crate::os::unix::raw::{gid_t, uid_t};

0 commit comments

Comments
 (0)