Repository activity
40458 results across all weeks
refactor(rules): share library lookup adapters
Rudi Grinberg (@rgrinberg)refactor(rules): share pform expansion dispatch
Rudi Grinberg (@rgrinberg)refactor(rules): share undefined package variable handling
Rudi Grinberg (@rgrinberg)refactor(rules): share undefined-variable boolean fold
Rudi Grinberg (@rgrinberg)refactor(rules): thread library closure state directly
Library closure traversal currently layers a generic State monad over Resolve.Memo. Each visit therefore allocates additional closures and intermediate state/result pairs, while obscuring the state flow through the traversal.
Rudi Grinberg (@rgrinberg)refactor(sexp): share escaped-string test helper
Rudi Grinberg (@rgrinberg)refactor(sexp): share version status messages
Rudi Grinberg (@rgrinberg)refactor(source): share glob field decoding
Rudi Grinberg (@rgrinberg)refactor(spawn): no more backend configuration
Using vfork is only safe on Linux
Rudi Grinberg (@rgrinberg)refactor(spawn): typed sigprocmask
Rudi Grinberg (@rgrinberg)refactor(stdune): make Env.Var.t abstract
Make Env.Var.t abstract so callers explicitly mark boundaries between arbitrary strings and environment variable names. Keep Env.Var.of_string unchecked in this preparatory refactor, add the corresponding conversion and representation functions, and update consumers across the codebase.
Rudi Grinberg (@rgrinberg)refactor(stdune): pass Env.t directly to Spawn
Spawn maintained a second environment abstraction alongside Stdune.Env, requiring callers to render and wrap environments before starting a process. This refactoring makes Spawn.spawn accept Env.t directly, moves Unix and Windows environment rendering into Env, and updates the affected callers.
Rudi Grinberg (@rgrinberg)refactor(stdune): remove unused filename constants
Rudi Grinberg (@rgrinberg)refactor(stdune): render Unix environments in spawn
Store environment entries as validated key/value bindings without caching their Unix rendering. The Unix spawn stub now inserts = while copying bindings into its malloc-backed environment block, avoiding intermediate joined strings and cache state in Env.t.
Rudi Grinberg (@rgrinberg)refactor(stdune): share ANSI parse output helper
Rudi Grinberg (@rgrinberg)refactor(stdune): share IO write metric checks
Rudi Grinberg (@rgrinberg)refactor(stdune): share directory resource handling
Rudi Grinberg (@rgrinberg)refactor(stdune): share workspace path errors
Rudi Grinberg (@rgrinberg)refactor(stdune): use Fd.t in Spawn
Replace raw Unix.file_descr values exposed by Spawn with Fd.t, including standard streams, working directories, and safe_pipe results. Make Working_dir.t abstract, keep raw descriptors confined to the foreign-function boundary, and update callers to use the managed descriptor API.
Rudi Grinberg (@rgrinberg)refactor(targets): reuse tree fold for list conversion
Rudi Grinberg (@rgrinberg)