File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -92,9 +92,13 @@ mod binary {
92
92
let output = cmd. output ( ) . expect ( "failed to run llvm-size" ) ;
93
93
let output_str = String :: from_utf8_lossy ( & output. stdout ) ;
94
94
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
+ ) ) ;
96
99
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) ) ;
98
102
if text_size == "0" {
99
103
panic ! ( "Kernel executable has an empty text section. Perhaps the entry point was set incorrectly?\n \n \
100
104
Kernel executable at `{}`\n ", kernel. display( ) ) ;
You can’t perform that action at this time.
0 commit comments