This is a multi-part MIME message sent by reportbug.
Source: nim
Version: 1.6.14-3
Followup-For: Bug #1089673
X-Debbugs-Cc:
debian-loongarch@lists.debian.org
Dear Maintainer,
The upstream has indeed supported the loongarch architecture, the PR link is as follows:
https://github.com/nim-lang/Nim/pull/19223. The patch generated according to the upstream has been added to the attachment.
wuruilong
--- nim-1.6.14.orig/compiler/platform.nim
+++ nim-1.6.14/compiler/platform.nim
@@ -231,6 +231,7 @@ const
(name: "avr", intSize: 16, endian: littleEndian, floatSize: 32, bit: 16),
(name: "msp430", intSize: 16, endian: littleEndian, floatSize: 32, bit: 16),
(name: "sparc64", intSize: 64, endian: bigEndian, floatSize: 64, bit: 64), + (name: "loongarch64", intSize: 64, endian: littleEndian, floatSize: 64, bit: 64)],
(name: "mips64", intSize: 64, endian: bigEndian, floatSize: 64, bit: 64),
(name: "mips64el", intSize: 64, endian: littleEndian, floatSize: 64, bit: 64),
(name: "riscv32", intSize: 32, endian: littleEndian, floatSize: 64, bit: 32),
--- nim-1.6.14.orig/lib/system.nim
+++ nim-1.6.14/lib/system.nim
@@ -1126,7 +1126,7 @@ const
## Possible values:
## `"i386"`, `"alpha"`, `"powerpc"`, `"powerpc64"`, `"powerpc64el"`,
## `"sparc"`, `"amd64"`, `"mips"`, `"mipsel"`, `"arm"`, `"arm64"`,
- ## `"mips64"`, `"mips64el"`, `"riscv32"`, `"riscv64"`.
+