diff --git a/.vscode/cspell.dictionaries/acronyms+names.wordlist.txt b/.vscode/cspell.dictionaries/acronyms+names.wordlist.txt index c004ea2f82..4a59ed094b 100644 --- a/.vscode/cspell.dictionaries/acronyms+names.wordlist.txt +++ b/.vscode/cspell.dictionaries/acronyms+names.wordlist.txt @@ -37,6 +37,7 @@ aarch flac impls lzma +loongarch # * names BusyBox diff --git a/src/uucore/src/lib/features/fs.rs b/src/uucore/src/lib/features/fs.rs index f8593dfede..de4c0b08db 100644 --- a/src/uucore/src/lib/features/fs.rs +++ b/src/uucore/src/lib/features/fs.rs @@ -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") ) ))]