Repository activity
40458 results across all weeks
Reference unboxing fix
Jérôme Vouillon (@vouillon)Runtime: fix the toplevel relocation of unit names when use-js-string is disabled
Jérôme Vouillon (@vouillon)Toplevel: fix the build with tyxml 5
tyxml 5.0.0 (released 2026-09-04) adds the s (strikethrough) element to Html. The local opens Tyxml_js.Html.( ... [ txt s ]) in the toplevel colorize helpers then resolve s to that element instead of the string argument, and the toplevel examples no longer type-check:
hhugoUse Wax for runtime files
Jérôme Vouillon (@vouillon)Use a single linear memory
The runtime declared four linear memories: jsstring.wat's caml_buffer scratch buffer, one each from the separately-linked zstd-impl.wasm and blake2-impl.wasm, and one for the wasi libc. Safari does not support modules with several memories. With this change, they all share a single memory.
Jérôme Vouillon (@vouillon)Wasm: split the toplevel function into smaller functions
The toplevel function of a large program can be huge, which makes optimizing compilers (Binaryen, TurboFan, ...) very slow, or even makes them fail.
Jérôme Vouillon (@vouillon)[BUG] Line break after `static` in a class body breaks the generated code on Safari 17
Describe the bug
habakan (@habakan)[Temporary] Benchmarks: build the bench image with Introcaml
Temporary PR on top of #2430 to measure how Introcaml introspection support affects the benchmarks. Not meant to be merged.
hhugotests-full: refresh stdlib 5.6 snapshot for OCaml trunk changes
Jérôme Vouillon (@vouillon)wasm_of_ocaml: add --setenv
Jérôme Vouillon (@vouillon)Fix [@unboxable] crashing on local parameters if the function is not local-returning
On top of #6558. Previously, let f : float @ local -> unit = fun (_x[@unboxable]) -> () would crash the compiler because it introduced a local boxing primitive for x, which would correspond to no region.
Nathanaëlle Courant (@Ekdohibs)(DRAFT) Attach cmi paths to interface references
Based on #7028 (refactor-cu), which this PR's base branch is set to; only the last few commits are new here.
Zesen Qian (@riaqn)(LTO) Compute calling convention changes at solve time
#6992 and #7110 move the computation of calling convention changes in the Reaper from rebuild time to solve time. This PR merges those changes into the LTO branch, which requires plumbing new types through the staged Reaper, and storing the computed calling convention changes in the .ltosol.
Miriam Vellacott (@mirivella)(LTO) Compute calling convention changes at solve time
@mirivella: I accidentally opened this against the wrong branch
Miriam Vellacott (@mirivella)-Oclassic: compiler crash in Cmm when compiling Int64 operations
Compiling the following program with -Oclassic fails during translation to Cmm with Fatal error: Mismatch on add_const:
hwasilewskijsAdd CSE across join points to the CFG backend (`-cfg-cse-join-points`)
Cfg_cse used to reset its value numbering at every join point,
Xavier Clerc (@xclerc)Add DWARF-5 variants of the LLDB DWARF tests
Adds a dwarf5/ subdirectory to oxcaml/tests/backend/oxcaml_dwarf that builds and runs the existing LLDB tests compiled with -gdwarf-version 5.
Mark Shinwell (@mshinwell)Add `const` qualifiers to `argv` in `caml_startup` functions
The OxCaml runtime never modifies the pointers argv points to, or any of the strings those pointers point to. It would be nice to express that constraint in the relevant function prototypes.
Nick Barnes (@NickBarnes)Add `module-type-impls` query
This PR adds the Merlin query module-type-impls that returns the modules that are required to implement the specified module type. This analysis will unlock broader functionality within Merlin, specifically for the Interface Strengthener, which annotates an .mli file with modes, modalities, and kinds.
Gavin Gray (@gavinleroy)Add a DCE-only mode to the Reaper for LTO
@Ekdohibs: I'm not sure why this is needed: -no-reaper-unbox -no-reaper-change-calling-conventions should be equivalent to this, I think? We could just make LTO enabled both these options at the same time.
Miriam Vellacott (@mirivella)