andrenth / ocaml-stdint

Various signed and unsigned integers for OCaml
Other
84 stars 15 forks source link

Fixes (dune, opam. doc, OCaml 5.0 on 32-bits arches) #69

Closed MisterDA closed 1 year ago

MisterDA commented 1 year ago

I saw a linking failure on 32 bits arches, because they don't support 128 bits. The code was using failwith which was removed for caml_failwith. I've fixed the other low-hanging fruits, have changed how we report these failures to help debugging and disabled 128-bits tests if they're unsupported.

There are still errors in all arches about left-shifts but I don't know what's happening, see https://ci.ocamllabs.io/github/MisterDA/ocaml-stdint/commit/334460930862d9754ff3a8483f83caac4090ee22.