Skip to content

Commit 867169d

Browse files
committed
Use correct name for cargo-clif executable on windows
1 parent e69dfc5 commit 867169d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_system/build_sysroot.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub(crate) fn build_sysroot(
4848
build_cargo_wrapper_cmd
4949
.arg("scripts/cargo-clif.rs")
5050
.arg("-o")
51-
.arg(target_dir.join("cargo-clif"))
51+
.arg(target_dir.join(if cfg!(windows) { "cargo-clif.exe" } else { "cargo-clif" }))
5252
.arg("-g");
5353
spawn_and_wait(build_cargo_wrapper_cmd);
5454

0 commit comments

Comments
 (0)