Source: rust-laurel
Version: 0.5.3-1.1
Severity: wishlist
Tags: patch ftbfs
User: debian-loonga...@lists.debian.org
Usertags: loong64
Dear maintainers,
I have submitted the LoongArch architecture support in rust-laurel
upstream [1], please see the pull-request link [2].
Please add support for loongarch64 (64-bit LoongArch) in rust-laurel
source package.
Please consider the patch I have attached.
Your opinions are welcome.
[1]:https://github.com/threathunters-io/laurel
[2]:https://github.com/threathunters-io/laurel/pull/186
thanks,
Dandan Zhang
Description: Add loongarch64 support
Last-Update: 2023-12-21
--- rust-laurel-0.5.3.orig/src/constants.rs
+++ rust-laurel-0.5.3/src/constants.rs
@@ -59,6 +59,7 @@ const ARCHS: &[(&str, u32)] = &[
("hexagon", 0x000000a4),
("i386", 0x40000003),
("ia64", 0xc0000032),
+ ("loongarch64", 0xc0000102),
("m32r", 0x00000058),
("m68k", 0x00000004),
("microblaze", 0x000000bd),