uucore: add support for loongarch64 (#5574)

* uucore: add support for loongarch64

* add loongarch

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
This commit is contained in:
zoze0 2023-11-24 00:41:11 +08:00 committed by GitHub
parent fff1302bdf
commit 550f3b0c48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -37,6 +37,7 @@ aarch
flac
impls
lzma
loongarch
# * names
BusyBox

View file

@ -119,6 +119,7 @@ impl FileInformation {
not(target_os = "solaris"),
not(target_arch = "aarch64"),
not(target_arch = "riscv64"),
not(target_arch = "loongarch64"),
target_pointer_width = "64"
))]
return self.0.st_nlink;
@ -133,6 +134,7 @@ impl FileInformation {
target_os = "solaris",
target_arch = "aarch64",
target_arch = "riscv64",
target_arch = "loongarch64",
not(target_pointer_width = "64")
)
))]