File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed
Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,8 @@ function humanArchName(name, bits) {
165165 name = 'PowerPC'
166166 } else if ( name === 'riscv' ) {
167167 name = 'RISC-V'
168+ } else if ( name === 's390' ) {
169+ name = 'S390'
168170 }
169171
170172 return `${ name } ${ bits } -bit`
@@ -179,19 +181,9 @@ function humanAbiName(abi) {
179181 // arm64
180182 if ( abi . startsWith ( 'aarch' ) )
181183 return 'AArch' + abi . slice ( 5 )
182- // arm
183- if ( abi === 'oabi' || abi === 'eabi' )
184- return abi . toUpperCase ( )
185- // mips
186- if ( abi === 'o32' || abi === 'o64' || abi === 'n64' || abi == 'n32' )
187- return abi . toUpperCase ( )
188- // powerpc
189- if ( abi === 'spu' || abi === 'ppc64' || abi === 'ppc32' )
190- return abi . toUpperCase ( )
191- // riscv
192- if ( abi === 'rv64' || abi === 'rv32' )
193- return abi . toUpperCase ( )
194- return abi
184+
185+ // Anything else can just go uppercase
186+ return abi . toUpperCase ( )
195187}
196188
197189function favoriteArch ( archs ) {
You can’t perform that action at this time.
0 commit comments