about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect/src/detect/mod.rs
diff options
context:
space:
mode:
authorWANG Rui <wangrui@loongson.cn>2025-06-28 11:16:39 +0800
committerWANG Rui <wangrui@loongson.cn>2025-06-28 11:28:32 +0800
commitd63e865a958a4e75e20b9b043c22b70094b9f0e1 (patch)
tree97b9f21c89efe909c499c75988ad52836d5a78da /library/stdarch/crates/std_detect/src/detect/mod.rs
parent36462f901e5b45eec36ea52000c8f2caa4b8ea67 (diff)
downloadrust-d63e865a958a4e75e20b9b043c22b70094b9f0e1.tar.gz
rust-d63e865a958a4e75e20b9b043c22b70094b9f0e1.zip
loongarch: Add basic support for LoongArch32
Diffstat (limited to 'library/stdarch/crates/std_detect/src/detect/mod.rs')
-rw-r--r--library/stdarch/crates/std_detect/src/detect/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/stdarch/crates/std_detect/src/detect/mod.rs b/library/stdarch/crates/std_detect/src/detect/mod.rs
index 8fd3d957932..a9e9709c1f6 100644
--- a/library/stdarch/crates/std_detect/src/detect/mod.rs
+++ b/library/stdarch/crates/std_detect/src/detect/mod.rs
@@ -103,6 +103,7 @@ pub fn features() -> impl Iterator<Item = (&'static str, bool)> {
             target_arch = "powerpc64",
             target_arch = "mips",
             target_arch = "mips64",
+            target_arch = "loongarch32",
             target_arch = "loongarch64",
             target_arch = "s390x",
         ))] {