Try running create-exe on Windows

This commit is contained in:
Felix Schütt
2022-12-29 18:09:37 +01:00
parent f3d0902f68
commit 49d2e14762

View File

@@ -1133,11 +1133,7 @@ fn link_exe_from_dir(
cmd.arg("-target");
cmd.arg(&zig_triple);
if zig_triple.contains("windows") {
cmd.arg("-lc++");
} else {
cmd.arg("-lc");
}
cmd.arg("-lc");
let mut include_dirs = include_dirs
.iter()