Skip to content

Commit

Permalink
Merge pull request #114 from jmarrero/remove-unneaded-checks
Browse files Browse the repository at this point in the history
baseline.rs: remove constant declaration checks per arch
  • Loading branch information
cgwalters authored Aug 15, 2023
2 parents 221e382 + 5f42643 commit 8ecd2bf
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/src/install/baseline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,8 @@ pub(crate) const BOOTPN: u32 = 3;
// This ensures we end up under 512 to be small-sized.
pub(crate) const BOOTPN_SIZE_MB: u32 = 510;
pub(crate) const ROOTPN: u32 = 4;
#[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]
pub(crate) const EFIPN: u32 = 2;
#[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]
pub(crate) const EFIPN_SIZE_MB: u32 = 512;
#[cfg(target_arch = "aarch64")]
pub(crate) const RESERVEDPN: u32 = 1;
#[cfg(target_arch = "ppc64")]
pub(crate) const PREPPN: u32 = 1;
#[cfg(target_arch = "ppc64")]
pub(crate) const RESERVEDPN: u32 = 1;

#[derive(clap::ValueEnum, Debug, Copy, Clone, PartialEq, Eq, Serialize, Deserialize)]
#[serde(rename_all = "kebab-case")]
Expand Down

0 comments on commit 8ecd2bf

Please sign in to comment.