Rename OptimizeAttr::None
to Default
This commit is contained in:
parent
7a9661d768
commit
5ac95a5c47
4 changed files with 10 additions and 8 deletions
|
@ -35,9 +35,11 @@ pub enum InstructionSetAttr {
|
|||
ArmT32,
|
||||
}
|
||||
|
||||
#[derive(Clone, Encodable, Decodable, Debug, HashStable_Generic)]
|
||||
#[derive(Clone, Encodable, Decodable, Debug, PartialEq, Eq, HashStable_Generic, Default)]
|
||||
pub enum OptimizeAttr {
|
||||
None,
|
||||
/// No `#[optimize(..)]` attribute
|
||||
#[default]
|
||||
Default,
|
||||
/// `#[optimize(none)]`
|
||||
DoNotOptimize,
|
||||
/// `#[optimize(speed)]`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue