File tree Expand file tree Collapse file tree 3 files changed +13
-17
lines changed Expand file tree Collapse file tree 3 files changed +13
-17
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,17 @@ fn bios_main() {
38
38
bios_stage_2_path. display( )
39
39
) ;
40
40
41
- let bios_stage_3_path = build_bios_stage_3 ( & out_dir) ;
42
- println ! (
43
- "cargo:rustc-env=BIOS_STAGE_3_PATH={}" ,
44
- bios_stage_3_path. display( )
45
- ) ;
41
+ let bios_stage_3_path = build_bios_stage_3 ( & out_dir) ;
42
+ println ! (
43
+ "cargo:rustc-env=BIOS_STAGE_3_PATH={}" ,
44
+ bios_stage_3_path. display( )
45
+ ) ;
46
46
47
- let bios_stage_4_path = build_bios_stage_4 ( & out_dir) ;
48
- println ! (
49
- "cargo:rustc-env=BIOS_STAGE_4_PATH={}" ,
50
- bios_stage_4_path. display( )
51
- ) ;
47
+ let bios_stage_4_path = build_bios_stage_4 ( & out_dir) ;
48
+ println ! (
49
+ "cargo:rustc-env=BIOS_STAGE_4_PATH={}" ,
50
+ bios_stage_4_path. display( )
51
+ ) ;
52
52
}
53
53
54
54
#[ cfg( feature = "uefi" ) ]
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ An experimental x86_64 bootloader that works on both BIOS and UEFI systems.
4
4
5
5
#![ warn( missing_docs) ]
6
6
7
- #[ cfg( feature = "bios" ) ]
8
- mod mbr;
9
7
#[ cfg( feature = "uefi" ) ]
10
8
mod gpt;
9
+ #[ cfg( feature = "bios" ) ]
10
+ mod mbr;
11
11
12
12
mod fat;
13
13
Original file line number Diff line number Diff line change 1
- use std:: {
2
- io:: Write ,
3
- path:: Path ,
4
- process:: Command ,
5
- } ;
1
+ use std:: { io:: Write , path:: Path , process:: Command } ;
6
2
7
3
const QEMU_ARGS : & [ & str ] = & [
8
4
"-device" ,
You can’t perform that action at this time.
0 commit comments