这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@smjleo
Copy link
Contributor

@smjleo smjleo commented Aug 21, 2025

Before, Targetint_31_63 assumed that ocaml ints in javascript are 31-bits wide; it's actually 32. We use the same unfortunate hack as in Targetint_32_64 to detect that we are running ocamlj, and switch to 32 bits instead. Note that Targetint_31_63 was renamed to Target_ocaml_int in the main branch in anticipation of this change, so the module name being Targetint_31_63 is not a problem - it will be resolved post-rebase.

@smjleo smjleo added the ocamlj Related to ocamlj/js_of_ocaml/JSIR label Aug 21, 2025
@smjleo smjleo requested a review from jvanburen August 25, 2025 13:38
Base automatically changed from selee.jsir-debug to selee.jsir-from-flambda2 September 2, 2025 22:11
@smjleo smjleo merged commit 4ceac0c into selee.jsir-from-flambda2 Sep 2, 2025
57 of 66 checks passed
@smjleo smjleo deleted the selee.jsir-targetint-32 branch September 2, 2025 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ocamlj Related to ocamlj/js_of_ocaml/JSIR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants