File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -654,7 +654,7 @@ impl GlobalContext {
654654 /// The directory to use for intermediate build artifacts.
655655 ///
656656 /// Callers should prefer [`Workspace::build_dir`] instead.
657- pub fn build_dir ( & self , workspace_manifest_path : & PathBuf ) -> CargoResult < Option < Filesystem > > {
657+ pub fn build_dir ( & self , workspace_manifest_path : & Path ) -> CargoResult < Option < Filesystem > > {
658658 let Some ( val) = & self . build_config ( ) ?. build_dir else {
659659 return Ok ( None ) ;
660660 } ;
@@ -668,7 +668,7 @@ impl GlobalContext {
668668 pub fn custom_build_dir (
669669 & self ,
670670 val : & ConfigRelativePath ,
671- workspace_manifest_path : & PathBuf ,
671+ workspace_manifest_path : & Path ,
672672 ) -> CargoResult < Filesystem > {
673673 let replacements = vec ! [
674674 (
You can’t perform that action at this time.
0 commit comments