paurkedal / ocaml-caqti

Cooperative-threaded access to relational data
https://paurkedal.github.io/ocaml-caqti/index.html
GNU Lesser General Public License v3.0
303 stars 36 forks source link

Drop ppx_deriving #49

Closed ulrikstrid closed 3 years ago

ulrikstrid commented 3 years ago

ppx_deriving is currently blocking me from compiling a project statically.

Is it used for something other than deriving.eq?

https://github.com/ocaml-ppx/ppx_deriving/issues/212

paurkedal commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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