Repository activity
40458 results across all weeks
Batched rebuild in LTO
This PR adds support for batching rebuilds. It only truly makes sense once proper rebuilding is supported, so it remains a draft for now. Once rebuilding is supported, we may want to adjust how the implementation in the first commit actually works.
Simon Spies (@spiessimon)Bidirectional type checking for applications
Import ocaml/ocaml#285. Fix some metaprogramming issue?
dkalinichenko-jsBox kinds
Add the box kind constructor. The kind k box indicates the boxed version of a kind k.
Ryan Tjoa (@rtjoa)Bugfix for extension constructor naming
Exceptions and other extension constructors got the wrong name if defined inside an 'include struct ... end' (or similar), because the rootpath used to name the constructor got dropped.
Stephen Dolan (@stedolan)Build the runtime with dune instead of make
The dune rules in runtime/dune and runtime/caml/dune used to shell out to make -f Makefile.upstream. This PR makes dune build all of these directly, fixing the fact that incremental builds did not relink the compiler binaries after a runtime change. The details seem hacky to me; perhaps a dune expert can improve on it.
Nick Barnes (@NickBarnes)Bump the actions group across 1 directory with 6 updates
Bumps the actions group with 6 updates in the / directory:
Dependabot (@dependabot)Bump the actions group with 4 updates
Bumps the actions group with 4 updates: actions/checkout, anthropics/claude-code-action, cachix/install-nix-action and zizmorcore/zizmor-action.
Dependabot (@dependabot)CFG dead code elimination: do not delete atomic loads whose result is discarded
As per title; atomic loads should act as
Xavier Clerc (@xclerc)CFG peephole: merge adjacent `Ioffset_loc` (amd64)
Add a CFG peephole rule, merge_adjacent_specific_operations,
Xavier Clerc (@xclerc)CFG selectgen: atomic loads have arbitrary effects
(As per title.)
Xavier Clerc (@xclerc)Calculate calling convention changes at solve time
This change moves the code to make decisions on calling convention changes from the start of the Reaper's rebuild phase (Rebuild.rebuild) to the end of it's solve phase (Unboxing_analysis.perform_analysis). The decisions get threaded through as extra fields in Unboxing_analysis.result.
Miriam Vellacott (@mirivella)Calculate slot offsets at solve time
Moves slot offset computation to solve time.
Miriam Vellacott (@mirivella)Change the reporting of mode errors during subsumption
When the modes of an implementation are not more general than the modes of a module signature, the current error reporting only prints the mismatching signatures. This can lead to confusing error messages when the mode at fault does not get printed, such as when it is implied by other modes.
ainageorgesCheck for new XXX comments in CI
In the spirit of the 80-character check, make sure no PR introduces a change that adds an XXX comment. Such comments aren't themselves a problem, of course, but usually they indicate that someone meant to address something before they made a PR.
Luke Maurer (@lukemaurer)Clean #includes in the runtime
Three commits to improve the hygiene of #includes in the runtime:
Nick Barnes (@NickBarnes)Close the Merlin listener before acknowledging shutdown
stop-server could return while the departing Merlin server was still listening on its Unix socket. A command issued immediately afterward could connect to that listener, then lose its request when the server exited, producing abnormal termination.
Gavin Gray (@gavinleroy)Cmm peephole optimisations: always use preferred input form
Fixes #7102.
Vincent Laviron (@lthls)Constrain with-bound type variables during unification
I'm not sure we should do this
dkalinichenko-jsCopy propagation for linscan and greedy allocators
This pull request implements a basic variant
Xavier Clerc (@xclerc)Correct C stack alignment on stack overflow
The guard page/SEGV/caml_raise_stack_overflow_nat` pathway entered C with C stack mis-alignment. This could crash in TCMalloc (or presumably elsewhere, but it's easy to crash in TCMalloc if the async raise frees a stack which has a local allocation arena).
Nick Barnes (@NickBarnes)