Skip to content

Commit

Permalink
uucore: add support for loongarch64 (uutils#5574)
Browse files Browse the repository at this point in the history
* uucore: add support for loongarch64

* add loongarch

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
  • Loading branch information
zoze0 and sylvestre committed Nov 23, 2023
1 parent fff1302 commit 550f3b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .vscode/cspell.dictionaries/acronyms+names.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ aarch
flac
impls
lzma
loongarch

# * names
BusyBox
Expand Down
2 changes: 2 additions & 0 deletions src/uucore/src/lib/features/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -133,6 +134,7 @@ impl FileInformation {
target_os = "solaris",
target_arch = "aarch64",
target_arch = "riscv64",
target_arch = "loongarch64",
not(target_pointer_width = "64")
)
))]
Expand Down

0 comments on commit 550f3b0

Please sign in to comment.