Repository activity
40458 results across all weeks
broken TMC
let rec map t ~f =
tkoukparifrom_lambda: fix continuations being called with invalid kinds
This was causing partial applications with mismatched result continuations to produce code with invalid kinds in the raw flambda.
Nathanaëlle Courant (@Ekdohibs)functorize: derive the bundle's block format from the -cmi-file coercion
transl_functorization hardcoded a 2-field main module block format, but a valid -cmi-file may narrow the [Intf; Make] pair, so the declared format and the coerced block disagreed: flambda2 emits one load per declared field, and the out-of-bounds Block_load traps at run time (bytecode ignores the field count and works).
Zesen Qian (@riaqn)functorize: don't delete input files on error
The -functorize error-path cleanup deleted files it never wrote: the raw -o target (its extension is never consulted, so -o foo.ml plus any failure deletes a source file) and unconditionally .cmi — the caller-supplied input under -cmi-file. Now it removes only this run's own outputs.
Zesen Qian (@riaqn)functorize: fix arg-block projection on mixed module blocks
Passing a parameterised -as-argument-for unit with unboxed exports (a mixed main block) as a compound argument makes the bundle project the arg block with a plain Pfield; flambda2 flags the value/flat mismatch and the program traps at run time.
Zesen Qian (@riaqn)nix: stop dev shells from modifying build-aux/ltmain.sh
Running the configurePhase advertised by the devShell banner leaves the git checkout dirty: stdenv's generic configure phase runs fixLibtool on every ltmain.sh it finds, sed-rewriting the sys_lib_search_path line of the checked-in build-aux/ltmain.sh to a list of nix store paths. The sandboxed nix build does the same, harmlessly; the devShell is the compiler…
Jacob Van Buren (@jvanburen)scratch
Merge solve_Pexp_field into type_label_access, so the same code is used for field projection, Pexp_setfield, and [%atomic.loc].
Ryan Tjoa (@rtjoa)translmod: check arg_param when projecting arg blocks
Split from #6912: project_arg_block now checks that the argument unit was compiled -as-argument-for the parameter slot being filled. A mismatch is only reachable with stale artifacts (objects are read without consistency checks against the cmis), hence a fatal error for now — CR'd to become a user error.
Zesen Qian (@riaqn)typing layout any returns
During typechecking, allow functions to return layout any.
dkalinichenko-jsCommunity digest
cohttp 6.3.0 fixes a path-traversal vulnerability in Cohttp.Path.resolve_local_file, and mirage-crypto 2.4.0 patches a timing leak in EC lookup tables (OSEC-2026-17). Merged Dune 3.25 confines sandboxed Linux actions with Landlock directory-FD policies, disableable via DUNE_CONFIG__LANDLOCK=disabled.
core digest
Sys.filepath_exists added to the standard library; raises Sys_error on permission errors instead of returning false. Merged. (#14974)
ecosystem digest
eio 1.5: Eio.Path.t uses \ on Windows; Eio.Net.connect gains ?bind_to and ?options for pre-connect socket configuration. #30518
multicore digest
Eio.Path.t now handles Windows-style separators and absolute paths, previously POSIX-only. (v1.5, released) (release)
oxcaml digest
Mode polymorphism parsing (#6829, ongoing): Signature items accept mode variables ('m) and bounds in type annotations. Curry-mode constraints are generated at parse time; mode variables are scoped per signature item.
tools digest
opam 2.6.0~beta1 released 2026-08-22. See release notes and blog post.
janestreet/opam-repository
No recorded activity in this period.
ocaml-dune/spawn
No recorded activity in this period.
ocaml-multicore/domainslib
No recorded activity in this period.
ocaml-multicore/eio
v1.5 adds Windows path support: Eio.Path.t now handles Windows-style separators and absolute paths, previously POSIX-only. (release)
ocaml-multicore/eio-trace
No recorded activity in this period.