1
Fork 0

Rename OptimizeAttr::None to Default

This commit is contained in:
clubby789 2025-01-24 19:34:01 +00:00
parent 7a9661d768
commit 5ac95a5c47
4 changed files with 10 additions and 8 deletions

View file

@ -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)]`