diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2024-12-09 19:00:43 +0000 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2025-01-23 17:19:53 +0000 |
| commit | cd848c9f3eebcb4a0940e1370d3e6ba9b0fe4bca (patch) | |
| tree | 624c404e33ed83c8d84234c7c5337a8f6ffa68d3 /compiler/rustc_feature/src | |
| parent | dee7d0e730a3a3ed98c89dd33c4ac16edc82de8a (diff) | |
Implement `optimize(none)` attribute
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/builtin_attrs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/builtin_attrs.rs b/compiler/rustc_feature/src/builtin_attrs.rs index 68e0191f45e..966f7730918 100644 --- a/compiler/rustc_feature/src/builtin_attrs.rs +++ b/compiler/rustc_feature/src/builtin_attrs.rs @@ -532,7 +532,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[ ), // RFC 2412 gated!( - optimize, Normal, template!(List: "size|speed"), ErrorPreceding, + optimize, Normal, template!(List: "none|size|speed"), ErrorPreceding, EncodeCrossCrate::No, optimize_attribute, experimental!(optimize) ), |
