Conversation
Support probing LoongArch ABI features at first.
|
JSON output format: // ./fastfetch -s abi -l none --format json
[
{
"type": "ABI",
"result": {
"compats": [
{
"name": "fastfetch program",
"desc": "New world (ABI2.0)"
},
{
"name": "LoongArch new world",
"desc": "Supported (Linux 6.11)"
},
{
"name": "LoongArch old world",
"desc": "Supported (compatible)"
}
],
"features": [
{
"name": "new-world signals",
"supported": true
},
{
"name": "old-world signals",
"supported": true
},
{
"name": "fstat & newfstatat",
"supported": true
},
{
"name": "getrlimit & setrlimit",
"supported": true
}
]
}
}
]
|
|
Hello there. Although I'm from PRC, I personally don't and maybe will never use loongson. So do major users of fastfetch. If this module is only used for Linux / loongson, I don't think it's worth merging. |
#1214 |
|
It didn't introduce a new module, and the code was fairly simple and not platform specific. |
Other architectures' users may benefit from it too, just that they probably won't have the "new/old world split" issue, but rather real calling conventions (think x86 x32, or RISC-V RV64ILP32). I only contributed the one support for LoongArch mainly because I only had this much free time today. Besides, I could not implement more arch support, because my work machine is LoongArch, and I don't have easy access to exotic ABI boxes of other "more popular" arches. ¯\_(ツ)_/¯ |
Got it. Thanks for the answer. |
7608349 to
f76981c
Compare
cb84473 to
6b8b7c1
Compare
7f1f120 to
70377a8
Compare
Support probing LoongArch ABI features at first.
On a box running Linux 6.10.6 (with the 6.11 syscall interface update backported), with the libLoL old-world compatibility solution activated: