Skip to content

Commit 7e81738

Browse files
Rollup merge of rust-lang#126086 - onur-ozkan:use-exe, r=petrochenkov
use windows compatible executable name for libcxx-version Resolves #rust-lang#125411 (comment)
2 parents af229f5 + 9c46479 commit 7e81738

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

Diff for: src/bootstrap/src/core/build_steps/tool.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ impl Step for LibcxxVersionTool {
834834
let compiler = builder.cxx(self.target).unwrap();
835835
let mut cmd = Command::new(compiler);
836836

837-
let executable = out_dir.join("libcxx-version");
837+
let executable = out_dir.join(exe("libcxx-version", self.target));
838838
cmd.arg("-o").arg(&executable).arg(builder.src.join("src/tools/libcxx-version/main.cpp"));
839839

840840
builder.run_cmd(&mut cmd);

0 commit comments

Comments
 (0)