Repository activity
40458 results across all weeks
fix(deps): validate named package bindings while decoding
Reject package dependencies inside named dependency bindings while decoding dependency fields, rather than waiting until their action builders are evaluated. Structural errors are now reported even for disabled stanzas.
Rudi Grinberg (@rgrinberg)fix(engine): separate Dune and action temporary directories
This does not make much of a difference for well behaved actions, and
Rudi Grinberg (@rgrinberg)fix(melange): stage installed emission dependencies
Stages installed Melange object dependencies during JS emission.
Antonio Nuno Monteiro (@anmonteiro)fix(patch): preserve spaces in git diff filenames
Disambiguate the --- and +++ filename fields in git patch headers before
Rudi Grinberg (@rgrinberg)fix(pkg): use sha256 for source archives that lack a checksum
Description
Shun Ueda (@shunueda)fix(sexp): allow release builds with expect-test helper
The build-time benchmark clones Dune and builds @install with the release
Rudi Grinberg (@rgrinberg)fix(stdune): reject NUL bytes in environment variable names
Validate environment variable names when constructing Env.Var.t, rejecting embedded NUL bytes with a code error. This strengthens the invariant established by making the type abstract and prevents invalid names from reaching environment rendering.
Rudi Grinberg (@rgrinberg)fix(stdune): reject negative byte counts
Rudi Grinberg (@rgrinberg)fix(trace): avoid allocation while swapping profiles
Alloc.swap currently constructs its result tuple while holding the allocation profiler's sample mutex. At sufficiently high sampling rates, that allocation can invoke a Memprof callback which attempts to acquire the same mutex, terminating Dune with Mutex.lock: Resource deadlock avoided.
Rudi Grinberg (@rgrinberg)fix: rebuild virtual-library object maps after mapping
Rebuild the combined virtual-library object map after mapping its implementation and virtual-library modules.
Antonio Nuno Monteiro (@anmonteiro)melange: introduce variable for `melange.emit` target dir
Desired Behavior
Antonio Nuno Monteiro (@anmonteiro)perf(boot): compile lexers with -ml
Compile the bootstrap preprocessor and lexer sources with ocamllex's -ml option. This makes bootstrap-generated lexers use the faster code-based automaton, consistent with Dune's regular lexer builds.
Rudi Grinberg (@rgrinberg)perf(cli): cache unchanged build status lines
The scheduler repeatedly asks the live status line to render unchanged progress and job counts. In a cold self-build, 10,391 of 21,692 renders repeated the previous state.
Rudi Grinberg (@rgrinberg)perf(config): query available processors without spawning
Rudi Grinberg (@rgrinberg)perf(digest): avoid boxed integers in manual feeds
This makes no difference for release builds, but the boxing makes dev
Rudi Grinberg (@rgrinberg)perf(digest): batch primitive representation fields
Feed adjacent Repr type tags and primitive payloads in one BLAKE3 update. Preserve the exact little-endian tags, payload bytes, ordering, and byte metrics.
Rudi Grinberg (@rgrinberg)perf(digest): batch representation case markers
Feed short selected Repr case-name bytes and their argument marker in
Rudi Grinberg (@rgrinberg)perf(digest): batch representation variant headers
Feed each Repr variant tag and selected case-name length in one BLAKE3
Rudi Grinberg (@rgrinberg)perf(digest): buffer manual digest input
Dune_digest.Manual currently crosses the OCaml/C boundary for every encoded
Rudi Grinberg (@rgrinberg)perf(digest): encode sized manual strings in one pass
Rudi Grinberg (@rgrinberg)