Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[github patch] expose int_size and max_wosize in Sys #6390

vicuna opened this issue May 3, 2014 · 1 comment


None yet
1 participant
Copy link

commented May 3, 2014

Original bug ID: 6390
Reporter: @gasche
Status: closed (set by @gasche on 2014-12-14T16:34:47Z)
Resolution: fixed
Priority: normal
Severity: feature
Fixed in version: 4.03.0+dev / +beta1
Category: standard library
Tags: github, patch

Bug description


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.


This comment has been minimized.

Copy link

commented Dec 14, 2014

Comment author: @gasche

(It was merged in trunk.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.