File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
use bootloader:: BootConfig ;
2
2
use bootloader:: DiskImageBuilder ;
3
- use std:: { io :: Read , path:: Path , process :: Command } ;
3
+ use std:: path:: Path ;
4
4
5
5
pub fn run_test_kernel ( kernel_binary_path : & str ) {
6
6
run_test_kernel_internal ( kernel_binary_path, None , None )
@@ -92,6 +92,11 @@ fn run_qemu<'a, A>(args: A)
92
92
where
93
93
A : IntoIterator < Item = & ' a str > ,
94
94
{
95
+ use std:: {
96
+ io:: Read ,
97
+ process:: { Command , Stdio } ,
98
+ } ;
99
+
95
100
const QEMU_ARGS : & [ & str ] = & [
96
101
"-device" ,
97
102
"isa-debug-exit,iobase=0xf4,iosize=0x04" ,
@@ -104,8 +109,6 @@ where
104
109
105
110
const SEPARATOR : & str = "\n ____________________________________\n " ;
106
111
107
- use std:: process:: Stdio ;
108
-
109
112
let mut run_cmd = Command :: new ( "qemu-system-x86_64" ) ;
110
113
run_cmd. args ( args) ;
111
114
run_cmd. args ( QEMU_ARGS ) ;
You can’t perform that action at this time.
0 commit comments