Skip to content

Commit d23fa03

Browse files
committed
Fix exe() to make rustc wrapper happy
1 parent 509af9f commit d23fa03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/src/utils/shared_helpers.rs

Lines changed: 1 addition & 1 deletion
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)