File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -603,11 +603,11 @@ fn build_ext(
603
603
bail ! ( "Failed to retrieve extension path from artifact" )
604
604
}
605
605
606
- // Write content to a given filepath.
607
- //
608
- // We may not have write permission but we may have sudo privilege on unix. So
609
- // we write to a temp file and then try moving it to given filepath, and retry
610
- // with sudo on unix.
606
+ /// Write content to a given filepath.
607
+ ///
608
+ /// We may not have write permission but we may have sudo privilege on unix. So
609
+ /// we write to a temp file and then try moving it to given filepath, and retry
610
+ /// with sudo on unix.
611
611
fn write_to_file ( content : String , filepath : & PathBuf ) -> anyhow:: Result < ( ) > {
612
612
// write to a temp file
613
613
let tempf = std:: env:: temp_dir ( ) . join ( "__tmp_cargo_php" ) ;
You can’t perform that action at this time.
0 commit comments