From e7f601da3a342deefc823c502dfd37103a8d8eff Mon Sep 17 00:00:00 2001 From: Gijs Burghoorn Date: Sun, 6 Aug 2023 15:29:45 +0200 Subject: [PATCH] Add the `riscv_ext_intrinsics` feature for #114544 --- compiler/rustc_feature/src/active.rs | 2 ++ compiler/rustc_span/src/symbol.rs | 1 + 2 files changed, 3 insertions(+) diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index 2a0dab64af551..8a5610aa60176 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -541,6 +541,8 @@ declare_features! ( (active, return_position_impl_trait_in_trait, "1.65.0", Some(91611), None), /// Allows bounding the return type of AFIT/RPITIT. (incomplete, return_type_notation, "1.70.0", Some(109417), None), + /// Adds the intrinsics for all RISC-V Ratified Extensions. + (incomplete, riscv_ext_intrinsics, "1.71.0", Some(114544), None), /// Allows `extern "rust-cold"`. (active, rust_cold_cc, "1.63.0", Some(97544), None), /// Allows the use of SIMD types in functions declared in `extern` blocks. diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 44820ae6f727c..f028046b964a3 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -1236,6 +1236,7 @@ symbols! { rhs, rintf32, rintf64, + riscv_ext_intrinsics, riscv_target_feature, rlib, rotate_left,