about summary refs log tree commit diff
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2024-11-22 20:32:34 +0800
committerGitHub <noreply@github.com>2024-11-22 20:32:34 +0800
commit9eb67bb25c732824409cf03168baf32c902f3502 (patch)
tree7092c79850c4990dd4c343a0cbaae4d4e98638c8
parent2cf7908998e5010ffdedede39f88fa2590e9c830 (diff)
parent37224817d79935a62ddf9c61e03925ee9cb3d4bd (diff)
downloadrust-9eb67bb25c732824409cf03168baf32c902f3502.tar.gz
rust-9eb67bb25c732824409cf03168baf32c902f3502.zip
Rollup merge of #133238 - heiher:loong-stdarch-rexport, r=Amanieu
re-export `is_loongarch_feature_detected`

r? ``@Amanieu``
-rw-r--r--library/std/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 5b94f036248..9c4e6f296fe 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -658,6 +658,8 @@ pub mod arch {
     pub use std_detect::is_aarch64_feature_detected;
     #[unstable(feature = "stdarch_arm_feature_detection", issue = "111190")]
     pub use std_detect::is_arm_feature_detected;
+    #[unstable(feature = "is_loongarch_feature_detected", issue = "117425")]
+    pub use std_detect::is_loongarch_feature_detected;
     #[unstable(feature = "is_riscv_feature_detected", issue = "111192")]
     pub use std_detect::is_riscv_feature_detected;
     #[stable(feature = "simd_x86", since = "1.27.0")]