diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-08-22 22:00:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-22 22:00:51 -0400 |
| commit | 45d5109ad865cc0b27276690d4d2a0c8d41beef0 (patch) | |
| tree | 0ef2b70c879609f55807eb9f63695d97e3c6e6d2 /compiler/rustc_span/src/symbol.rs | |
| parent | f0a414870a0aa295c0d35e0d980f99d5b892f72b (diff) | |
| parent | 291da71b2ae2e5d313739a7d6a8ffa634f408db5 (diff) | |
| download | rust-45d5109ad865cc0b27276690d4d2a0c8d41beef0.tar.gz rust-45d5109ad865cc0b27276690d4d2a0c8d41beef0.zip | |
Rollup merge of #145573 - veluca93:unsafe-force-target-feature, r=davidtwco
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.
Diffstat (limited to 'compiler/rustc_span/src/symbol.rs')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 744a4771aae..e4cb9b39b82 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, |
