Repository activity
40458 results across all weeks
refactor(dir-status): share group component classification
Centralize classification of generated and source-only directories nested under an include_subdirs group.
Antonio Nuno Monteiro (@anmonteiro)refactor(foreign): share C library flag expansion
Share project-aware C library flag expansion across library and foreign-library rules while preserving delayed C++ detection.
Antonio Nuno Monteiro (@anmonteiro)refactor(install): share install entry construction
Reuse the install-entry helper for documentation pages and foreign DLLs.
Antonio Nuno Monteiro (@anmonteiro)refactor(install-rules): extract metadata generation helpers
Extract the META/dune-package metadata generation helpers in install_rules.ml into dedicated functions. Pure refactor: generated package metadata is unchanged.
Ali Caglayan (@Alizter)refactor(jsoo): reuse link context
Resolve the link context once for build-context and build-directory setup.
Antonio Nuno Monteiro (@anmonteiro)refactor(jsoo): type object directory names
The fixed js_of_ocaml object-directory name is a single path component, but it was stored and compared as an unstructured string. Represent it as Filename.t, construct its path with relative_fname, and compare it directly with path basenames.
Rudi Grinberg (@rgrinberg)refactor(lang): type module artifact filenames
Module_name.Unique.artifact_filename always produces a single path component, but returned it as an unstructured string. Return Filename.t so this invariant is represented in the type and use filename-aware path construction at call sites.
Rudi Grinberg (@rgrinberg)refactor(lib-flags): share public include handling
Share public CMI include handling between OCaml and Melange modes before adding native-only directories.
Antonio Nuno Monteiro (@anmonteiro)refactor(library): share compile info resolution
Share local library identification and compile-info resolution between compilation-context setup and select rules.
Antonio Nuno Monteiro (@anmonteiro)refactor(melange): centralize compiler CLI flags
Centralize syntax-version-dependent Melange compiler flags used by CMJ compilation and JavaScript emission.
Antonio Nuno Monteiro (@anmonteiro)refactor(melange): centralize output paths
Antonio Nuno Monteiro (@anmonteiro)refactor(melange): combine installed emission object globs
Combine installed Melange CMI and CMJ emission dependencies into one file selector.
Antonio Nuno Monteiro (@anmonteiro)refactor(melange): derive runtime target directory
Derive the runtime asset alias directory from the output descriptor instead of passing the same target directory separately.
Antonio Nuno Monteiro (@anmonteiro)refactor(melange): hoist promotion input
Antonio Nuno Monteiro (@anmonteiro)refactor(melange): reuse object dirs for emission includes
Reuse Obj_dir.all_obj_dirs ~mode:Melange when constructing Melange emission include paths.
Antonio Nuno Monteiro (@anmonteiro)refactor(melange): share JS output components
Compute each module’s JavaScript output directory and basename once across all configured module systems.
Antonio Nuno Monteiro (@anmonteiro)refactor(melange): share compilation cache policy
Antonio Nuno Monteiro (@anmonteiro)refactor(melange): share emit module lookup
Antonio Nuno Monteiro (@anmonteiro)refactor(melange): share instrumentation expansion
Share Melange preprocessing instrumentation expansion between module remapping and dependency resolution.
Antonio Nuno Monteiro (@anmonteiro)refactor(melange): share library link closure lookup
Antonio Nuno Monteiro (@anmonteiro)