File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -364,12 +364,12 @@ impl Configure {
364
364
365
365
// Copy OpenBLAS sources from this crate to `out_dir`
366
366
let root = openblas_root. as_ref ( ) ;
367
- for entry in WalkDir :: new ( & root) {
367
+ for entry in WalkDir :: new ( root) {
368
368
let entry = entry. expect ( "Unknown IO error while walkdir" ) ;
369
369
let dest = out_dir. join (
370
370
entry
371
371
. path ( )
372
- . strip_prefix ( & root)
372
+ . strip_prefix ( root)
373
373
. expect ( "Directory entry is not under root" ) ,
374
374
) ;
375
375
if dest. exists ( ) {
@@ -400,7 +400,7 @@ impl Configure {
400
400
. stdout ( unsafe { Stdio :: from_raw_fd ( out. into_raw_fd ( ) ) } ) // this works only for unix
401
401
. stderr ( unsafe { Stdio :: from_raw_fd ( err. into_raw_fd ( ) ) } )
402
402
. args ( & self . make_args ( ) )
403
- . args ( & [ "libs" , "netlib" , "shared" ] )
403
+ . args ( [ "libs" , "netlib" , "shared" ] )
404
404
. env_remove ( "TARGET" )
405
405
. check_call ( )
406
406
{
You can’t perform that action at this time.
0 commit comments