File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/wasi-common/src/sys/windows Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ fn concatenate<P: AsRef<Path>>(file: &OsDir, path: P) -> Result<PathBuf> {
46
46
// components with `out_path`
47
47
let out_path = PathBuf :: from ( strip_extended_prefix ( out_path) ) ;
48
48
49
- tracing:: debug!( " out_path={:?}" , out_path) ;
49
+ tracing:: debug!( out_path = tracing :: field :: debug ( & out_path) ) ;
50
50
51
51
Ok ( out_path)
52
52
}
@@ -171,7 +171,7 @@ pub(crate) fn link(
171
171
if follow_symlinks {
172
172
// in particular, this will return an error if the target path doesn't exist
173
173
tracing:: debug!(
174
- old_path = tracing:: field:: display( & old_path) ,
174
+ old_path = tracing:: field:: display( old_path. display ( ) ) ,
175
175
"Following symlinks"
176
176
) ;
177
177
old_path = fs:: canonicalize ( & old_path) . map_err ( |e| match e. raw_os_error ( ) {
You can’t perform that action at this time.
0 commit comments