diff options
| author | WANG Rui <wangrui@loongson.cn> | 2025-08-08 21:59:51 +0800 |
|---|---|---|
| committer | WANG Rui <wangrui@loongson.cn> | 2025-08-09 13:54:09 +0800 |
| commit | 0246245420bbbb378db020c0492561cf701165cd (patch) | |
| tree | fd874fb7a4824d396bcdae13074b54748f15a22f /library/std_detect/src/detect/arch | |
| parent | 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a (diff) | |
| download | rust-0246245420bbbb378db020c0492561cf701165cd.tar.gz rust-0246245420bbbb378db020c0492561cf701165cd.zip | |
rustc_target: Add the `32s` target feature for LoongArch
Diffstat (limited to 'library/std_detect/src/detect/arch')
| -rw-r--r-- | library/std_detect/src/detect/arch/loongarch.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std_detect/src/detect/arch/loongarch.rs b/library/std_detect/src/detect/arch/loongarch.rs index 68fc600fa8e..d5a442fbbb8 100644 --- a/library/std_detect/src/detect/arch/loongarch.rs +++ b/library/std_detect/src/detect/arch/loongarch.rs @@ -8,6 +8,7 @@ features! { /// Checks if `loongarch` feature is enabled. /// Supported arguments are: /// + /// * `"32s"` /// * `"f"` /// * `"d"` /// * `"frecipe"` @@ -22,6 +23,8 @@ features! { /// * `"lvz"` /// * `"ual"` #[stable(feature = "stdarch_loongarch_feature", since = "1.89.0")] + @FEATURE: #[unstable(feature = "stdarch_loongarch_feature_detection", issue = "117425")] _32s: "32s"; + /// 32S @FEATURE: #[stable(feature = "stdarch_loongarch_feature", since = "1.89.0")] f: "f"; /// F @FEATURE: #[stable(feature = "stdarch_loongarch_feature", since = "1.89.0")] d: "d"; |
