Uri 1.9.6 has just been released, which greatly improves life for those of you running on ARM-based systems.
- Source: https://github.com/mirage/ocaml-uri/releases/tag/v1.9.6
- API docs: http://mirage.github.io/ocaml-uri/
There is an extra module included in Uri that bundles the contents of
/etc/services into an OCaml module, so that you can perform service->port lookups from network servers. Previously, this resulted in an enormous OCaml pattern match for the full contents of
This in turn uncovered a bug in ARM code generation, which meant that anything involving Uris failed to work due to a dependency failure. @gasche put in a different strategy for code generation which means that build times are faster for everyone.
Enjoy! If anyone wishes to contribute to the Uri library, we are looking for a rewrite using Angstrom to avoid the use of regular expressions for parsing. Get in touch if so…