Skip to content

Commit c140a2f

Browse files
committed
Partially stabilize LoongArch target features
1 parent 57a69c5 commit c140a2f

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

Diff for: crates/core_arch/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@
7272
feature(
7373
stdarch_arm_feature_detection,
7474
stdarch_powerpc_feature_detection,
75-
stdarch_s390x_feature_detection,
76-
stdarch_loongarch_feature_detection
75+
stdarch_s390x_feature_detection
7776
)
7877
)]
7978

Diff for: crates/std_detect/src/detect/arch/loongarch.rs

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ features! {
1616
/// * `"lbt"`
1717
/// * `"lvz"`
1818
/// * `"ual"`
19-
#[unstable(feature = "stdarch_loongarch_feature_detection", issue = "117425")]
20-
@FEATURE: #[unstable(feature = "stdarch_loongarch_feature_detection", issue = "117425")] f: "f";
19+
#[stable(feature = "stdarch_loongarch_feature", since = "1.88.0")]
20+
@FEATURE: #[stable(feature = "stdarch_loongarch_feature", since = "1.88.0")] f: "f";
2121
/// F
22-
@FEATURE: #[unstable(feature = "stdarch_loongarch_feature_detection", issue = "117425")] d: "d";
22+
@FEATURE: #[stable(feature = "stdarch_loongarch_feature", since = "1.88.0")] d: "d";
2323
/// D
24-
@FEATURE: #[unstable(feature = "stdarch_loongarch_feature_detection", issue = "117425")] frecipe: "frecipe";
24+
@FEATURE: #[stable(feature = "stdarch_loongarch_feature", since = "1.88.0")] frecipe: "frecipe";
2525
/// Frecipe
26-
@FEATURE: #[unstable(feature = "stdarch_loongarch_feature_detection", issue = "117425")] lsx: "lsx";
26+
@FEATURE: #[stable(feature = "stdarch_loongarch_feature", since = "1.88.0")] lsx: "lsx";
2727
/// LSX
28-
@FEATURE: #[unstable(feature = "stdarch_loongarch_feature_detection", issue = "117425")] lasx: "lasx";
28+
@FEATURE: #[stable(feature = "stdarch_loongarch_feature", since = "1.88.0")] lasx: "lasx";
2929
/// LASX
30-
@FEATURE: #[unstable(feature = "stdarch_loongarch_feature_detection", issue = "117425")] lbt: "lbt";
30+
@FEATURE: #[stable(feature = "stdarch_loongarch_feature", since = "1.88.0")] lbt: "lbt";
3131
/// LBT
32-
@FEATURE: #[unstable(feature = "stdarch_loongarch_feature_detection", issue = "117425")] lvz: "lvz";
32+
@FEATURE: #[stable(feature = "stdarch_loongarch_feature", since = "1.88.0")] lvz: "lvz";
3333
/// LVZ
3434
@FEATURE: #[unstable(feature = "stdarch_loongarch_feature_detection", issue = "117425")] ual: "ual";
3535
/// UAL

Diff for: crates/std_detect/src/detect/arch/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ cfg_if! {
5050
#[unstable(feature = "stdarch_mips_feature_detection", issue = "111188")]
5151
pub use mips64::*;
5252
} else if #[cfg(target_arch = "loongarch64")] {
53-
#[unstable(feature = "stdarch_loongarch_feature_detection", issue = "117425")]
53+
#[stable(feature = "stdarch_loongarch_feature", since = "1.88.0")]
5454
pub use loongarch::*;
5555
} else if #[cfg(target_arch = "s390x")] {
5656
#[unstable(feature = "stdarch_s390x_feature_detection", issue = "135413")]

0 commit comments

Comments
 (0)