Skip to content

Commit

Permalink
lib: Add bergamo and siena support to Generation from String
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Fanelli <[email protected]>
  • Loading branch information
tylerfanelli committed Feb 16, 2024
1 parent a8e4e1f commit c695448
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,12 @@ impl TryFrom<String> for Generation {
#[cfg(any(feature = "sev", feature = "snp"))]
"genoa" => Ok(Self::Genoa),

#[cfg(any(feature = "sev", feature = "snp"))]
"bergamo" => Ok(Self::Genoa),

#[cfg(any(feature = "sev", feature = "snp"))]
"siena" => Ok(Self::Genoa),

_ => Err(()),
}
}
Expand Down

0 comments on commit c695448

Please sign in to comment.