library/std: Add support for loongarch64

This commit is contained in:
zhaixiaojuan 2022-07-06 18:29:04 +08:00 committed by wangrui
parent ad26dab27c
commit a5e23115bd
3 changed files with 3 additions and 0 deletions

View File

@ -895,6 +895,7 @@ pub mod consts {
/// - x86_64
/// - arm
/// - aarch64
/// - loongarch64
/// - m68k
/// - mips
/// - mips64

View File

@ -231,6 +231,7 @@ mod arch {
}
#[cfg(any(
target_arch = "loongarch64",
target_arch = "mips64",
target_arch = "s390x",
target_arch = "sparc64",

View File

@ -22,6 +22,7 @@ pub const MIN_ALIGN: usize = 8;
#[cfg(any(
target_arch = "x86_64",
target_arch = "aarch64",
target_arch = "loongarch64",
target_arch = "mips64",
target_arch = "s390x",
target_arch = "sparc64",