Skip to content

Commit

Permalink
Rollup merge of rust-lang#126086 - onur-ozkan:use-exe, r=petrochenkov
Browse files Browse the repository at this point in the history
use windows compatible executable name for libcxx-version

Resolves #rust-lang#125411 (comment)
  • Loading branch information
workingjubilee committed Jun 6, 2024
2 parents af229f5 + 9c46479 commit 7e81738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/src/core/build_steps/tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ impl Step for LibcxxVersionTool {
let compiler = builder.cxx(self.target).unwrap();
let mut cmd = Command::new(compiler);

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

builder.run_cmd(&mut cmd);
Expand Down

0 comments on commit 7e81738

Please sign in to comment.