From 52aa549cdf2c2ebcf50933da3ed217cc224a2197 Mon Sep 17 00:00:00 2001 From: jetmit Date: Thu, 23 Nov 2023 01:53:17 +0800 Subject: [PATCH 1/2] uucore: add support for loongarch64 --- src/uucore/src/lib/features/fs.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/uucore/src/lib/features/fs.rs b/src/uucore/src/lib/features/fs.rs index f8593dfede5..de4c0b08dbe 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") ) ))] From 613180bf5651e714aea701e8515fa8eac9575eb4 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 23 Nov 2023 09:04:42 +0100 Subject: [PATCH 2/2] add loongarch --- .vscode/cspell.dictionaries/acronyms+names.wordlist.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/.vscode/cspell.dictionaries/acronyms+names.wordlist.txt b/.vscode/cspell.dictionaries/acronyms+names.wordlist.txt index c004ea2f822..4a59ed094bd 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