Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[github patch] expose int_size and max_wosize in Sys #6390
Original bug ID: 6390
This would make it possible to write code that works both under the standard runtime and with js_of_ocaml, where the runtime constraints are different (integers are untagged and there is no real string/array-length limit). Currently code instead assumes that int_size is word_size-1, which makes it unportable to js_of_ocaml.