Skip to content
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

Improving Cygwin support #3642

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Improving Cygwin support #3642

wants to merge 7 commits into from

Conversation

mtzguido
Copy link
Member

We discovered recently that F* was pretty much not working at all in Cygwin due to a confusion in the handling of path names. This PR adds a workaround for it so that F* can even begin to work, but the issue should be fixed upstream in batteries. Regardless, I think many other things will fail to work.

This PR works around the issue, but also adds a big warning making F* refuse to run under Cygwin unless FSTAR_CYGWIN is set, to make it clear that this is not really supported.

Note that we do test and routinely run native Windows versions of F*, compiled with MinGW. That is what makes up the Windows release. But there is no Cygwin CI test, and probably no one is running F* on it.

Mostly posting for visibility, I don't plan to merge this without discussion. Comments welcome!

F* should not try to do this for the user, and running an external
process for this is definitely not ideal.

Also it's not clear what advantage this had: in Windows, we would not
have a cygpath to call, and in Cygwin, we can properly interpret both
POSIX and Windows paths.
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.

1 participant