about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-03-16 09:40:05 +0800
committerGitHub <noreply@github.com>2025-03-16 09:40:05 +0800
commit8210b84aaf77a9de1e8fd00f404068c487d07531 (patch)
tree11427246fa2dbf2d10eac5ac9189f9ac045a1b5c /library/std/src
parente0846806dbfaa8d838832f48771a8a709f35ee0a (diff)
parenta312635821c84611be8e6ab84c1ef4815ba7d99e (diff)
downloadrust-8210b84aaf77a9de1e8fd00f404068c487d07531.tar.gz
rust-8210b84aaf77a9de1e8fd00f404068c487d07531.zip
Rollup merge of #138275 - folkertdev:expose-is-s390x-feature-detected, r=Mark-Simulacrum
expose `is_s390x_feature_detected!` from `std::arch`

tracking issue: https://github.com/rust-lang/rust/issues/135413
implementation: https://github.com/rust-lang/stdarch/pull/1699 (more features added in https://github.com/rust-lang/stdarch/pull/1720)

This macro was part of the recent `stdarch` synchronization, but not yet exposed via `std::arch`.

r? libs
Diffstat (limited to 'library/std/src')
-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 938b8c6e4f4..35ada678740 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -666,6 +666,8 @@ pub mod arch {
     pub use std_detect::is_loongarch_feature_detected;
     #[unstable(feature = "is_riscv_feature_detected", issue = "111192")]
     pub use std_detect::is_riscv_feature_detected;
+    #[unstable(feature = "stdarch_s390x_feature_detection", issue = "135413")]
+    pub use std_detect::is_s390x_feature_detected;
     #[stable(feature = "simd_x86", since = "1.27.0")]
     pub use std_detect::is_x86_feature_detected;
     #[unstable(feature = "stdarch_mips_feature_detection", issue = "111188")]