Implement optimize(none)
attribute
This commit is contained in:
parent
dee7d0e730
commit
cd848c9f3e
8 changed files with 45 additions and 14 deletions
|
@ -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)
|
||||
),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue