File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ impl Build {
51
51
) ;
52
52
std:: fs:: create_dir_all ( & self . build_args . output_dir ) ?;
53
53
let canonicalized = self . build_args . output_dir . canonicalize ( ) ?;
54
- log:: debug!( "canonicalized output dir: {canonicalized:?}" ) ;
54
+ log:: debug!( "canonicalized output dir: {}" , canonicalized . display ( ) ) ;
55
55
self . build_args . output_dir = canonicalized;
56
56
57
57
// Ensure the shader crate exists
Original file line number Diff line number Diff line change @@ -188,8 +188,11 @@ fn crate_path_canonical(shader_crate_path: &Path) -> anyhow::Result<PathBuf> {
188
188
. context ( "could not get absolute path to shader crate" ) ?;
189
189
190
190
if !canonical_path. is_dir ( ) {
191
- log:: error!( "{shader_crate_path:?} is not a directory, aborting" ) ;
192
- anyhow:: bail!( "{shader_crate_path:?} is not a directory" ) ;
191
+ log:: error!(
192
+ "{} is not a directory, aborting" ,
193
+ shader_crate_path. display( )
194
+ ) ;
195
+ anyhow:: bail!( "{} is not a directory" , shader_crate_path. display( ) ) ;
193
196
}
194
197
Ok ( canonical_path)
195
198
}
You can’t perform that action at this time.
0 commit comments