Skip to content

Commit

Permalink
run-make-support: don't use lossy on TARGET_RPATH_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu committed Jan 12, 2025
1 parent fec2e3a commit 1665b80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tools/run-make-support/src/external_deps/rustdoc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ impl Rustdoc {
#[track_caller]
pub fn new() -> Self {
let mut cmd = setup_common();
let target_rpath_dir = env_var_os("TARGET_RPATH_DIR");
cmd.arg(format!("-L{}", target_rpath_dir.to_string_lossy()));
cmd.arg("-L").arg(env_var_os("TARGET_RPATH_DIR"));
Self { cmd }
}

Expand Down

0 comments on commit 1665b80

Please sign in to comment.