mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
use windows compatible executable name for libcxx-version
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
50297bb417
commit
9c46479a6a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user