Skip to content

Commit 533ecdb

Browse files
committed
Assume UTF-8 in sysroot paths
1 parent 22519d3 commit 533ecdb

File tree

1 file changed

+1
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/build_steps/check.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ impl RmetaSysroot {
193193
fn configure_cargo(&self, cargo: &mut Cargo) {
194194
cargo.append_to_env(
195195
"RUSTC_ADDITIONAL_SYSROOT_PATHS",
196-
format!("{},{}", self.host_dir.display(), self.target_dir.display()),
196+
format!("{},{}", self.host_dir.to_str().unwrap(), self.target_dir.to_str().unwrap()),
197197
",",
198198
);
199199
}

0 commit comments

Comments
 (0)