diff options
| author | James Barford-Evans <james.barford-evans@arm.com> | 2025-08-21 14:32:10 +0100 |
|---|---|---|
| committer | Jamie Cunliffe <Jamie.Cunliffe@arm.com> | 2025-08-27 14:45:01 +0100 |
| commit | bcfc9b5073a92bbb4b1e4db2eab535357d8973ad (patch) | |
| tree | a0bb4d26841b0c6a28ddb0dfea6b934f8e0f13ca /compiler/rustc_feature | |
| parent | b2dd217dd0a099fb87601657ec480bf3e92b30a6 (diff) | |
| download | rust-bcfc9b5073a92bbb4b1e4db2eab535357d8973ad.tar.gz rust-bcfc9b5073a92bbb4b1e4db2eab535357d8973ad.zip | |
inline at the callsite & warn when target features mismatch
Co-authored-by: Jamie Cunliffe <Jamie.Cunliffe@arm.com>
Diffstat (limited to 'compiler/rustc_feature')
| -rw-r--r-- | compiler/rustc_feature/src/unstable.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index 92b435b4b01..03ae57c24fa 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -645,6 +645,8 @@ declare_features! ( (unstable, super_let, "1.88.0", Some(139076)), /// Allows subtrait items to shadow supertrait items. (unstable, supertrait_item_shadowing, "1.86.0", Some(89151)), + /// Allows the use of target_feature when a function is marked inline(always). + (unstable, target_feature_inline_always, "CURRENT_RUSTC_VERSION", Some(145574)), /// Allows using `#[thread_local]` on `static` items. (unstable, thread_local, "1.0.0", Some(29594)), /// Allows defining `trait X = A + B;` alias items. |
