diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/src/core/build_steps/check.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/build_steps/check.rs b/src/bootstrap/src/core/build_steps/check.rs index b964097cd36..bebae893ee7 100644 --- a/src/bootstrap/src/core/build_steps/check.rs +++ b/src/bootstrap/src/core/build_steps/check.rs @@ -193,7 +193,7 @@ impl RmetaSysroot { fn configure_cargo(&self, cargo: &mut Cargo) { cargo.append_to_env( "RUSTC_ADDITIONAL_SYSROOT_PATHS", - format!("{},{}", self.host_dir.display(), self.target_dir.display()), + format!("{},{}", self.host_dir.to_str().unwrap(), self.target_dir.to_str().unwrap()), ",", ); } |
