Skip to content

Commit 1665b80

Browse files
committed
run-make-support: don't use lossy on TARGET_RPATH_DIR
1 parent fec2e3a commit 1665b80

File tree

1 file changed

+1
-2
lines changed
  • src/tools/run-make-support/src/external_deps

1 file changed

+1
-2
lines changed

src/tools/run-make-support/src/external_deps/rustdoc.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ impl Rustdoc {
4545
#[track_caller]
4646
pub fn new() -> Self {
4747
let mut cmd = setup_common();
48-
let target_rpath_dir = env_var_os("TARGET_RPATH_DIR");
49-
cmd.arg(format!("-L{}", target_rpath_dir.to_string_lossy()));
48+
cmd.arg("-L").arg(env_var_os("TARGET_RPATH_DIR"));
5049
Self { cmd }
5150
}
5251

0 commit comments

Comments
 (0)