issuu / ocaml-protoc-plugin

ocaml-protoc-plugin
https://issuu.github.io/ocaml-protoc-plugin/
Other
48 stars 19 forks source link

Fix serialization and deserialization of varints on 32bit platforms #58

Open andersfugmann opened 7 months ago

andersfugmann commented 7 months ago

On 32bit platforms, using unboxed values for 32bit will not work as expected, and alternative implementations are needed to handle this.

Testing can be done by installing a 32bit version of ocaml using opam switch create 5.1.0+options ocaml-option-32bit