File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ use std::{
33 process:: Command ,
44} ;
55
6- const BOOTLOADER_X86_64_UEFI_VERSION : & str = "0.11.0-beta" ;
6+ const BOOTLOADER_X86_64_UEFI_VERSION : & str = env ! ( "CARGO_PKG_VERSION" ) ;
77
8- const BOOTLOADER_X86_64_BIOS_BOOT_SECTOR_VERSION : & str = "0.1.0-beta.1" ;
9- const BOOTLOADER_X86_64_BIOS_STAGE_2_VERSION : & str = "0.1.0-beta" ;
10- const BOOTLOADER_X86_64_BIOS_STAGE_3_VERSION : & str = "0.1.0-beta" ;
11- const BOOTLOADER_X86_64_BIOS_STAGE_4_VERSION : & str = "0.11.0-beta" ;
8+ const BOOTLOADER_X86_64_BIOS_BOOT_SECTOR_VERSION : & str = env ! ( "CARGO_PKG_VERSION" ) ;
9+ const BOOTLOADER_X86_64_BIOS_STAGE_2_VERSION : & str = env ! ( "CARGO_PKG_VERSION" ) ;
10+ const BOOTLOADER_X86_64_BIOS_STAGE_3_VERSION : & str = env ! ( "CARGO_PKG_VERSION" ) ;
11+ const BOOTLOADER_X86_64_BIOS_STAGE_4_VERSION : & str = env ! ( "CARGO_PKG_VERSION" ) ;
1212
1313fn main ( ) {
1414 let out_dir = PathBuf :: from ( std:: env:: var ( "OUT_DIR" ) . unwrap ( ) ) ;
You can’t perform that action at this time.
0 commit comments