Skip to content

Commit

Permalink
Use package version for dependencies in build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-opp committed Nov 27, 2022
1 parent 95d046a commit 85b6b0f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ use std::{
process::Command,
};

const BOOTLOADER_X86_64_UEFI_VERSION: &str = "0.11.0-beta";
const BOOTLOADER_X86_64_UEFI_VERSION: &str = env!("CARGO_PKG_VERSION");

const BOOTLOADER_X86_64_BIOS_BOOT_SECTOR_VERSION: &str = "0.1.0-beta.1";
const BOOTLOADER_X86_64_BIOS_STAGE_2_VERSION: &str = "0.1.0-beta";
const BOOTLOADER_X86_64_BIOS_STAGE_3_VERSION: &str = "0.1.0-beta";
const BOOTLOADER_X86_64_BIOS_STAGE_4_VERSION: &str = "0.11.0-beta";
const BOOTLOADER_X86_64_BIOS_BOOT_SECTOR_VERSION: &str = env!("CARGO_PKG_VERSION");
const BOOTLOADER_X86_64_BIOS_STAGE_2_VERSION: &str = env!("CARGO_PKG_VERSION");
const BOOTLOADER_X86_64_BIOS_STAGE_3_VERSION: &str = env!("CARGO_PKG_VERSION");
const BOOTLOADER_X86_64_BIOS_STAGE_4_VERSION: &str = env!("CARGO_PKG_VERSION");

fn main() {
let out_dir = PathBuf::from(std::env::var("OUT_DIR").unwrap());
Expand Down

0 comments on commit 85b6b0f

Please sign in to comment.