File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ impl From<HeaderVersionError> for io::Error {
2424 }
2525}
2626
27-
2827#[ derive( Clone , PartialEq , Eq , Debug ) ]
2928pub struct Flags {
3029 pub word_size : u16 ,
Original file line number Diff line number Diff line change @@ -1792,7 +1792,8 @@ pub fn driver(cli: Cli) -> anyhow::Result<()> {
17921792 out. set_extension ( "bc" ) ;
17931793 let ( m, cg_time) = timeit ( || ctx. module . write_bitcode_to_memory ( ) ) ;
17941794 * reporter. cg_time . get_or_insert ( Duration :: ZERO ) += cg_time;
1795- out. create_with_len ( m. get_size ( ) as _ ) ?. write_all ( m. as_slice ( ) ) ?;
1795+ out. create_with_len ( m. get_size ( ) as _ ) ?
1796+ . write_all ( m. as_slice ( ) ) ?;
17961797 Zero
17971798 }
17981799 OutputType :: Assembly => {
@@ -1806,7 +1807,8 @@ pub fn driver(cli: Cli) -> anyhow::Result<()> {
18061807 . unwrap ( )
18071808 } ) ;
18081809 * reporter. cg_time . get_or_insert ( Duration :: ZERO ) += cg_time;
1809- out. create_with_len ( m. get_size ( ) as _ ) ?. write_all ( m. as_slice ( ) ) ?;
1810+ out. create_with_len ( m. get_size ( ) as _ ) ?
1811+ . write_all ( m. as_slice ( ) ) ?;
18101812 Zero
18111813 }
18121814 _ => {
@@ -1851,7 +1853,8 @@ pub fn driver(cli: Cli) -> anyhow::Result<()> {
18511853 }
18521854 OutputType :: RawObject => {
18531855 out. set_extension ( "raw.o" ) ;
1854- out. create_with_len ( mb. get_size ( ) as _ ) ?. write_all ( mb. as_slice ( ) ) ?;
1856+ out. create_with_len ( mb. get_size ( ) as _ ) ?
1857+ . write_all ( mb. as_slice ( ) ) ?;
18551858 Zero
18561859 }
18571860 OutputType :: Object => {
You can’t perform that action at this time.
0 commit comments