Implement optimize(none)
attribute
This commit is contained in:
parent
dee7d0e730
commit
cd848c9f3e
8 changed files with 45 additions and 14 deletions
|
@ -38,7 +38,11 @@ pub enum InstructionSetAttr {
|
|||
#[derive(Clone, Encodable, Decodable, Debug, HashStable_Generic)]
|
||||
pub enum OptimizeAttr {
|
||||
None,
|
||||
/// `#[optimize(none)]`
|
||||
DoNotOptimize,
|
||||
/// `#[optimize(speed)]`
|
||||
Speed,
|
||||
/// `#[optimize(size)]`
|
||||
Size,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue