fn copy_extractor(&self) -> Result<(), Box<dyn std::error::Error>> {
        let dest_path = self.workspace.join("cargo-home/rustc");
        std::fs::copy(&self.extractor_path, &dest_path).unwrap_or_else(|_| {
            panic!(
                "couldn't copy '{}' to '{}'",
                self.extractor_path.display(),
                dest_path.display()
            )
        });
        Ok(())
    }
/// Copies extractor to the workspace.
Copies extractor to the workspace.
Copies extractor to the workspace .
fn copy_extractor(&self) -> Result<(), Box<dyn std::error::Error>> {
        let dest_path = self.workspace.join("cargo-home/rustc");
        std::fs::copy(&self.extractor_path, &dest_path).unwrap_or_else(|_| {
            panic!(
                "couldn't copy '{}' to '{}'",
                self.extractor_path.display(),
                dest_path.display()
            )
        });
        Ok(())
    }
fn copy_extractor ( & self ) -> Result < ( ) , Box < dyn std :: error :: Error > > { let dest_path = self . workspace . join ( " " ) ; std :: fs :: copy ( & self . extractor_path , & dest_path ) . unwrap_or_else ( | _ | { panic ! ( " " self extractor_path display ( ) dest_path display ( ) ) } ) ; Ok ( ( ) ) }
Copies extractor to the workspace.
Copies extractor to the workspace .
&self