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

Fix various Windows depends/available fields #23946

Merged
merged 3 commits into from
Jun 21, 2023
Merged

Conversation

dra27
Copy link
Member

@dra27 dra27 commented Jun 17, 2023

opam running on Cygwin has os = "cygwin" and os-family = "windows"; opam running on native Windows itself has os = "win32" and os-family = "windows". Using os-family = "windows" is normally a mistake. Cygwin is an implementation of Posix on top of Windows, so on the rare occasions that something is actually common between the two (e.g. .dll extension for shared objects), I think it's actually better to be more explicit and have (os = "win32" | os = "cygwin").

Both submitted upstream in ocaml-multicore/eio#557 and UnixJunkie/parany#75.

os-family = "windows" for both Cygwin and native Windows.
eio_luv should be selected at the same version.
@avsm
Copy link
Member

avsm commented Jun 18, 2023

Looks right to me; will just wait a tiny bit for upstream projects to react.

@avsm avsm merged commit 2141099 into ocaml:master Jun 21, 2023
@dra27 dra27 deleted the bad-windows branch June 26, 2023 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants