Skip to content

Commit

Permalink
Unrolled build for rust-lang#126086
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
rust-timer authored Jun 7, 2024
2 parents 98489f2 + 9c46479 commit 2c00482
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 2c00482

Please # to comment.