Rename OptimizeAttr::None to Default
This commit is contained in:
@@ -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)]`
|
||||
|
||||
Reference in New Issue
Block a user