File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -92,9 +92,13 @@ mod binary {
9292 let output = cmd. output ( ) . expect ( "failed to run llvm-size" ) ;
9393 let output_str = String :: from_utf8_lossy ( & output. stdout ) ;
9494 let second_line_opt = output_str. lines ( ) . skip ( 1 ) . next ( ) ;
95- let second_line = second_line_opt. expect ( & format ! ( "unexpected llvm-size line output:\n {}" , output_str) ) ;
95+ let second_line = second_line_opt. expect ( & format ! (
96+ "unexpected llvm-size line output:\n {}" ,
97+ output_str
98+ ) ) ;
9699 let text_size_opt = second_line. split_ascii_whitespace ( ) . next ( ) ;
97- let text_size = text_size_opt. expect ( & format ! ( "unexpected llvm-size output:\n {}" , output_str) ) ;
100+ let text_size =
101+ text_size_opt. expect ( & format ! ( "unexpected llvm-size output:\n {}" , output_str) ) ;
98102 if text_size == "0" {
99103 panic ! ( "Kernel executable has an empty text section. Perhaps the entry point was set incorrectly?\n \n \
100104 Kernel executable at `{}`\n ", kernel. display( ) ) ;
You can’t perform that action at this time.
0 commit comments