From 71e17a08c0f20ffb47446509bec1a515043e4617 Mon Sep 17 00:00:00 2001 From: WANG Rui Date: Thu, 2 Jan 2025 14:44:59 +0800 Subject: [PATCH] Partially stabilize LoongArch target features --- compiler/rustc_target/src/target_features.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/compiler/rustc_target/src/target_features.rs b/compiler/rustc_target/src/target_features.rs index 5372437b0d2ab..e7529f4f58692 100644 --- a/compiler/rustc_target/src/target_features.rs +++ b/compiler/rustc_target/src/target_features.rs @@ -765,11 +765,11 @@ const LOONGARCH_FEATURES: &[(&str, StabilityUncomputed, ImpliedFeatures)] = &[ // tidy-alphabetical-start ("d", unstable(sym::loongarch_target_feature), &["f"]), ("f", unstable(sym::loongarch_target_feature), &[]), - ("frecipe", unstable(sym::loongarch_target_feature), &[]), - ("lasx", unstable(sym::loongarch_target_feature), &["lsx"]), - ("lbt", unstable(sym::loongarch_target_feature), &[]), - ("lsx", unstable(sym::loongarch_target_feature), &["d"]), - ("lvz", unstable(sym::loongarch_target_feature), &[]), + ("frecipe", STABLE, &[]), + ("lasx", STABLE, &["lsx"]), + ("lbt", STABLE, &[]), + ("lsx", STABLE, &["d"]), + ("lvz", STABLE, &[]), ("relax", unstable(sym::loongarch_target_feature), &[]), ("ual", unstable(sym::loongarch_target_feature), &[]), // tidy-alphabetical-end