File tree Expand file tree Collapse file tree 6 files changed +22
-22
lines changed Expand file tree Collapse file tree 6 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ just = "=1.40.0"
108108libc = " 0.2.159" # For (*nix) libc
109109libipt = " 0.3.0"
110110log = " 0.4.22"
111- meminterval = " 0.4.1 "
111+ meminterval = " 0.4.2 "
112112mimalloc = { version = " 0.1.43" , default-features = false }
113113nix = { version = " 0.30.1" , default-features = false }
114114num_enum = { version = " 0.7.3" , default-features = false }
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ impl ToolWrapper for ArWrapper {
166166 . map ( |r| {
167167 let arg_as_path = PathBuf :: from ( r) ;
168168 if r. ends_with ( '.' ) {
169- r. to_string ( )
169+ r. clone ( )
170170 } else {
171171 if let Some ( extension) = arg_as_path. extension ( ) {
172172 let extension = extension. to_str ( ) . unwrap ( ) ;
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ where
197197 for ( func_name, entry_bb) in & self . func_to_entry_bb {
198198 entry_bb_locs. push ( * entry_bb) ;
199199 let mut entry = EntryBasicBlockInfo {
200- calling_func : func_name. to_string ( ) ,
200+ calling_func : func_name. clone ( ) ,
201201 node_loc : * entry_bb,
202202 successor_edges : vec ! [ ] ,
203203 } ;
Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ impl ToolWrapper for ClangWrapper {
331331 . map ( |r| {
332332 let arg_as_path = PathBuf :: from ( r) ;
333333 if r. ends_with ( '.' ) {
334- r. to_string ( )
334+ r. clone ( )
335335 } else {
336336 if let Some ( extension) = arg_as_path. extension ( ) {
337337 let extension = extension. to_str ( ) . unwrap ( ) ;
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ impl ToolWrapper for LibtoolWrapper {
172172 . map ( |r| {
173173 let arg_as_path = PathBuf :: from ( r) ;
174174 if r. ends_with ( '.' ) {
175- r. to_string ( )
175+ r. clone ( )
176176 } else {
177177 if let Some ( extension) = arg_as_path. extension ( ) {
178178 let extension = extension. to_str ( ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments