Repository activity
40458 results across all weeks
Use TARGET_BINDIR rather than HOST_BINDIR when linking fallback-search relocatable bytecode binaries
Since you asked me for a tale of relocatable bugs, I was sitting in my drawing room this weekend, enjoying a moment of leisure perusing the patches of Relocatable OCaml as I'm often wont to do at weekends, when I came across a suspicious hunk in bytecomp/bytelink.ml.
David Allsopp (@dra27)Warnings 74 and 75 are missing from the manpage
warnings.ml shows:
Kate (@kit-ty-kate)Weak.set lost when the collector rewrites the slot
A value stored with Weak.set can be lost: the next Weak.get returns None although the value is still reachable. Only one domain uses the weak array; the slot is overwritten by the GC running on another domain.
KC Sivaramakrishnan (@kayceesrk)Work around the socketcall seccomp block in the i386 job
On ubuntu-26.04 runners, Docker 29.4.2's default seccomp profile denies socketcall(2), which i386 glibc uses for networking, so the debian:13 i386 container cannot resolve host names and apt-get update fails (actions/runner-images#14790). Run the container with seccomp unconfined. This also works on ubuntu-24.04, and can be dropped once the runner image ship…
Tim McGilchrist (@tmcgilchrist)[5.6] Test the mingw-w64 port on GitHub Actions instead of AppVeyor
5.6 version #15209 - running through CI.
David Allsopp (@dra27)`version` and `ocaml` dependency seems incorrect for 5.5.2 release
When looking at https://github.com/ocaml/ocaml/blob/5.5.2/ocaml-variants.opam, it looks like lines 2, 18 and 19 were not updated properly for that particular release.
Eduardo Souza (@udesou)add nul-terminated line input functions
nul-termination of lines is a common way for shell scripts to communicate (e.g., grep, git, and many others have -z option). it makes sense for programs to be able to input lines separated by nul bytes.
Raphaël Proust (@raphael-proust)fix(typing): call `cleanup_abbrev_memo` in `try_expand_safe_opt`
This PR makes try_expand_safe_opt call cleanup_abbrev_memo, as try_expand_safe and safe_abbrev already do.
Alistair (@johnyob)float_of_string misrounds subnormal hex doubles
float_of_string "0x50000000000001p-1127" returns the double with bits 2, where the exact result rounds to 3.
KC Sivaramakrishnan (@kayceesrk)man: document warnings 74 and 75 in ocamlc.1
Fixes #15268.
Abhay Chaudhary (@Abhayindia)object system: discard object type name upon privacy mutation
Since #12150, we are using the name of inherited classes to name object types. For instance, in the following
Florian Angeletti (@Octachron)ocamlc -dsource Stack_overflow on small input
Run ocamlc -dsource on the following input:
Török Edwin (@edwintorok)ocamldoc reports failure on custom tags
Unlike what is advertised in its documentation, the ocamldoc exits with non-zero code when run on a .mli file that contains a non-handled @ attribute, even without -no-custom-tags. Minimal reproducer:
Olivier Nicole (@OlivierNicole)ocamltest: document how to create tests that are expected to fail or timeout
I've previously done this by marking a test as run_can_skip.
Török Edwin (@edwintorok)pattern-matching: fix 15171 (obscure compile-time assert failure on redundant guarded or-patterns)
This is a proposed fix for #15171 reported by @smuenzel. Most of the commits involve fixing some aspects of the -dmatchcomp output (look at the commit messages to see before/after examples), and then a few-lines refactoring and a one-line fix.
Gabriel Scherer (@gasche)runtime: caml_redarken_pool is dead code, remove
This function became dead before the Multicore merge,
Gabriel Scherer (@gasche)runtime: drop redundant memory-model fences around atomic RMWs on AArch64
caml_atomic_exchange/_cas/_fetch_add wrap a sequentially-consistent atomic
Sebastian Pop (@sebpop)s390x: follow the ABI's CFA convention so gas can emit SFrame
Hello! This is the first part of some work I want to do to get SFrame working
Zane Hambly (@Zaneham)stdlib: Add Map.inter and Map.diff
This adds intersection and diff on maps with a slight optimization over a merge based implementation which cannot be done using the module's public API, similar to what Map.union does.
Nathan Rebours (@NathanReb)typing: reject atomic locations to polymorphic fields
Fixes #14987.
Demetrios Chiuratto Agourakis (@agourakis82)