Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. IssueW36.2026 · 31 Aug – 6 Sepocaml/merlin

    truncated error message with Emacs+Merlin on OCaml 5.04 and v5.7.1-504

    Repro case:

    Gabriel Scherer (@gasche)
  2. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    #14898: lambda/Translcore, do not trust GADT equations introduced by a partial match

    This PR fixes the miscompilation reported by #14898 by making sure that the translation to Lambda.t do not use local GADTs equations introduced on a partial match to compute the kind of function parameters.

    Florian Angeletti (@Octachron)
  3. IssueW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    A thread that never yields starves the other threads of its domain on Windows (regression in 5.5.0)

    On Windows, an OCaml thread that does not yield voluntarily keeps the runtime lock indefinitely, and the other threads of its domain never run. Not slowly — not at all, for as long as it keeps computing. Thread.yield still hands over correctly; what stops working is the preemptive handoff the tick thread asks for every 50ms.

    Daniel Larraz (@daniel-larraz)
  4. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Add Atomic.compare_and_exchange

    As suggested in #14889, I added the compare_and_exchange function in Atomic :

    Jeannalyse
  5. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Add Domain.max_domains to expose the configured maximum domain count

    Expose the runtime's configured maximum number of domains via a new Domain.max_domains function. This value is set by the d parameter of OCAMLRUNPARAM (defaulting to 128 on 64-bit and 16 on 32-bit platforms).

    Tim McGilchrist (@tmcgilchrist)
  6. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Add missing EV_MINOR_EPHE_CLEAN constructor to runtime_phase

    The runtime has emitted this phase since 5.4 (#13643), when a minor collection has to clean locked ephemerons, but the OCaml type had no constructor for it, so consumers were handed an out-of-range value and crashed when matching on it.

    Tim McGilchrist (@tmcgilchrist)
  7. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Add new runtime-events test

    Yesterday when messing around with runtime-events, I added a new event type and forgot to update otherlibs/runtime-events. The punishment for this mistake was, I feel, unduly harsh: the testsuite passed, but a later commit that began to use the event during GC segfaulted deep into test_compact.ml in a way that took a while to understand.

    Stephen Dolan (@stedolan)
  8. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Add runtime events for direct major allocations and GC ramp-up

    This (now) adds three counters and one span to runtime events.

    Tim McGilchrist (@tmcgilchrist)
  9. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Added parsing support for M.true and M.false

    Implement the fix proposed in #13245 that is allowing finishing a path with true or false.

    Samuel Vivien (@samsa1)
  10. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Adding support for native dynlink on x64_haiku

    Adding support for native dynlink on x64_haiku

    Anarchos (@Sylvain78)
  11. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Allow using constructors as builder functions

    This is a very preliminary PR, for discussion (no test, etc).

    Alain Frisch (@alainfrisch)
  12. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Bit counting as C primitives, with clz and ctz emitted on amd64 and arm64

    Hello,

    Zane Hambly (@Zaneham)
  13. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Bytecode loading: guard against overflow in `caml_read_section_descriptors`

    Not sure this can be exploited by a malicious bytecode executable with an unreasonable number of section descriptors, but better be safe.

    Xavier Leroy (@xavierleroy)
  14. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    CI: stop testing on macos x86_64

    macOS 27 (~~just~~ soon to be released) removes all support for x86, incl. Rosetta emulation.

    Xavier Leroy (@xavierleroy)
  15. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Emit fsqrt for square root on power

    Hiya,

    Zane Hambly (@Zaneham)
  16. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Emit the rounding instructions for Float.round, Float.trunc, ceil and floor on arm64 and power

    Hello,

    Zane Hambly (@Zaneham)
  17. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Enable KVM for faster Android emulation in CI

    GitHub's larger Linux runners support running hardware accelerated emulators. See the Android Emulator Runner Action (https://github.com/reactivecircus/android-emulator-runner#running-hardware-accelerated-emulators-on-linux-runners), this snippet is taken straight from the readme. This saves about 40s of run time in the cross-x86_64-linux-android21 CI job, s…

    Antonin Décimo (@MisterDA)
  18. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Fix handling of backup thread on Win32

    The first commit contains a minimal fix for #15028: the field .backup_thread which is supposed to maintain a reference to the backup thread handle is in fact invalid under Windows because the backup thread is detached after creation using CloseHandle. When this invalid handle is passed to caml_plat_thread_equal, it returns -1 which was being interpreted as a…

    Nicolás Ojeda Bär (@nojb)
  19. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Fix minor_allocated_bytes conversion.

    Should use Wsize_bsize(minor_allocated_bytes) to convert bytes to words.

    Tim McGilchrist (@tmcgilchrist)
  20. Pull requestW36.2026 · 31 Aug – 6 Sepocaml/ocaml

    Fix two bugs in the Win32 implementation of `Unix.select`

    This PR fixes two related bugs in the Win32 implementation of Unix.select, in the custom path used when the arguments contain non-socket descriptors.

    Nicolás Ojeda Bär (@nojb)