Skip to content

Commit 6e9002f

Browse files
authored
fixup! make shared_helpers exe function work for both cygwin and non-cygwin hosts
formatting mistake
1 parent 69b8ffe commit 6e9002f

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") || (cfg!(not(target_os = "cygwin")) && target.contains("cygwin"))
49+
if target.contains("windows") || (cfg!(not(target_os = "cygwin")) && target.contains("cygwin"))
5050
{
5151
format!("{name}.exe")
5252
} else if target.contains("uefi") {

0 commit comments

Comments
 (0)