From 291da71b2ae2e5d313739a7d6a8ffa634f408db5 Mon Sep 17 00:00:00 2001 From: Luca Versari Date: Mon, 18 Aug 2025 15:09:45 +0200 Subject: Add an experimental unsafe(force_target_feature) attribute. This uses the feature gate for https://github.com/rust-lang/rust/issues/143352, but is described in https://github.com/rust-lang/rfcs/pull/3820 which is strongly tied to the experiment. --- compiler/rustc_span/src/symbol.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/rustc_span/src/symbol.rs') diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index dcb1becc957..a18cc21a972 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -901,6 +901,7 @@ symbols! { dynamic_no_pic: "dynamic-no-pic", e, edition_panic, + effective_target_features, effects, eh_catch_typeinfo, eh_personality, @@ -1061,6 +1062,7 @@ symbols! { fn_ptr_addr, fn_ptr_trait, forbid, + force_target_feature, forget, format, format_args, -- cgit 1.4.1-3-g733a5