Skip to content

Commit 12fda86

Browse files
committed
Fix exe() to make rustc wrapper happy
1 parent 49553be commit 12fda86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/src/utils/shared_helpers.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pub fn dylib_path() -> Vec<std::path::PathBuf> {
4646
/// Given an executable called `name`, return the filename for the
4747
/// executable for a particular target.
4848
pub fn exe(name: &str, target: &str) -> String {
49-
if target.contains("windows") || target.contains("cygwin") {
49+
if target.contains("windows") {
5050
format!("{name}.exe")
5151
} else if target.contains("uefi") {
5252
format!("{name}.efi")

0 commit comments

Comments
 (0)