@@ -11,10 +11,12 @@ use anyhow::{Context, Result, anyhow, bail, ensure};
1111use object:: { Object as _, ObjectSection as _, ObjectSymbol as _} ;
1212
1313use crate :: {
14- arch:: { new_arch , Arch , RelocationOverride , RelocationOverrideTarget } ,
14+ arch:: { Arch , RelocationOverride , RelocationOverrideTarget , new_arch } ,
1515 diff:: DiffObjConfig ,
1616 obj:: {
17- split_meta:: { SplitMeta , SPLITMETA_SECTION } , DiffSide , FlowAnalysisResult , Object , Relocation , RelocationFlags , Section , SectionData , SectionFlag , SectionKind , Symbol , SymbolFlag , SymbolKind
17+ DiffSide , FlowAnalysisResult , Object , Relocation , RelocationFlags , Section , SectionData ,
18+ SectionFlag , SectionKind , Symbol , SymbolFlag , SymbolKind ,
19+ split_meta:: { SPLITMETA_SECTION , SplitMeta } ,
1820 } ,
1921 util:: { align_data_slice_to, align_u64_to, read_u16, read_u32} ,
2022} ;
@@ -923,7 +925,11 @@ fn do_combine_sections(
923925}
924926
925927#[ cfg( feature = "std" ) ]
926- pub fn read ( obj_path : & std:: path:: Path , config : & DiffObjConfig , diff_side : DiffSide ) -> Result < Object > {
928+ pub fn read (
929+ obj_path : & std:: path:: Path ,
930+ config : & DiffObjConfig ,
931+ diff_side : DiffSide ,
932+ ) -> Result < Object > {
927933 let ( data, timestamp) = {
928934 let file = std:: fs:: File :: open ( obj_path) ?;
929935 let timestamp = filetime:: FileTime :: from_last_modification_time ( & file. metadata ( ) ?) ;
0 commit comments