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

Enable to read which backend was picked by libev. #985

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

Conversation

mefyl
Copy link

@mefyl mefyl commented Mar 20, 2023

My use case for this is letting libev choose its backend freely, but checking it did not fallback to select in production as the 1024 file descriptor limit is not fit for purpose.

@mefyl
Copy link
Author

mefyl commented Mar 20, 2023

I'm at a loss as to why this fails in ocaml-ci with undefined reference to 'lwt_libev_backend' on all platforms; it absolutely works locally for me and the function is present in the C stub file 🤔

@raphael-proust
Copy link
Collaborator

This seems like a reasonable addition. I'll look into the failure.

@raphael-proust
Copy link
Collaborator

I started the other CI tests (I just noticed they needed an approval start) and they paint a much clearer picture: the error occurs when the code is compiled with libev deactivated.

I've pushed a commit adding some lazy because I believe the error occurs as a result of initialisation when libev is absent.

@raphael-proust
Copy link
Collaborator

It doesn't work, same error. I'll dig further.

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.

None yet

2 participants