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

Conversation

@smjleo
Copy link
Contributor

@smjleo smjleo commented Sep 3, 2025

We modify the .cmj file format to include any compilation units imported while translating the current unit, so that js_of_ocaml can provide this info to the linker via the //Requires: stanza. This change is accompanied by a change in js_of_ocaml. We are able to use the bytecode-compiled stdlib with JSIR-compiled files with this change.

@smjleo smjleo requested a review from jvanburen September 3, 2025 17:53
@smjleo smjleo added the ocamlj Related to ocamlj/js_of_ocaml/JSIR label Sep 3, 2025
@smjleo smjleo force-pushed the selee.jsir-linking-info branch from edf0638 to 6e3c965 Compare September 3, 2025 17:56
@smjleo smjleo marked this pull request as draft September 3, 2025 17:57
@smjleo smjleo force-pushed the selee.jsir-linking-info branch from 6e3c965 to 2b8edb8 Compare September 3, 2025 18:48
@smjleo smjleo marked this pull request as ready for review September 3, 2025 18:49
@smjleo smjleo merged commit aac854d into selee.jsir-from-flambda2 Sep 3, 2025
23 checks passed
@smjleo smjleo deleted the selee.jsir-linking-info branch September 3, 2025 19:32
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