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

Drop ppx_deriving #49

Closed
ulrikstrid opened this issue Oct 11, 2020 · 3 comments · Fixed by #50
Closed

Drop ppx_deriving #49

ulrikstrid opened this issue Oct 11, 2020 · 3 comments · Fixed by #50

Comments

@ulrikstrid
Copy link
Contributor

ulrikstrid commented Oct 11, 2020

ppx_deriving is currently blocking me from compiling a project statically.

Is it used for something other than deriving.eq?

ocaml-ppx/ppx_deriving#212

@paurkedal
Copy link
Owner

As you could see there isn't much depending on it at the moment, but I'm wondering: Why does using ppx_deriving prevent static compilation? The corresponding runtime library is available as a static library (ppx_deriving_eq.a).

@ulrikstrid
Copy link
Contributor Author

You can see more info in the linked issue above. But basically the musl compiler can't handle the dynamic loading which you need for the plugin model of ppx_deriving.

@paurkedal
Copy link
Owner

I see. That's unfortunate, but easy to avoid for now as you can see.

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 a pull request may close this issue.

2 participants