|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006390||OCaml||OCaml standard library||public||2014-05-03 15:36||2014-12-14 17:34|
|Assigned To|| |
|Product Version|| |
|Target Version||Fixed in Version||4.03.0+dev|| |
|Summary||0006390: [github patch] expose int_size and max_wosize in Sys|
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.