Skip to content

[LangOptions] os(Cygwin) is not true on Cygwin #20469

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 15, 2018

Conversation

tinysun212
Copy link
Contributor

Target.isOSWindows() and Target.isWindowsCygwinEnvironment() are both true in Cygwin.
We should check the os(Cygwin) before os(Windows).

@harlanhaskins
Copy link
Contributor

Can you add a test for this?

`Target.isOSWindows()` and `Target.isWindowsCygwinEnvironment()` are both true in Cygwin.
We should check the `os(Cygwin)` before `os(Windows)`.
@tinysun212
Copy link
Contributor Author

@harlanhaskins I amended the commit.
Test already exists but did not work. It works now.

@compnerd
Copy link
Member

@swift-ci please test and merge

1 similar comment
@harlanhaskins
Copy link
Contributor

@swift-ci please test and merge

@harlanhaskins
Copy link
Contributor

@swift-ci please test

@compnerd compnerd merged commit 9cc9a94 into swiftlang:master Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants