mirror of
https://git.sr.ht/~bryan_bennett/flake_env
synced 2025-12-18 07:21:24 +01:00
Remove dependency on Janestreet Core
Core doubles the closure size and adds 8mb to the binary size for dubious benefit. This adds FileUtils to do the file interaction bits that aren't in the stdlib and removes Core in preference to the bundled Stdlib. Tests are passing, but I want to investigate the nix build before I commit to this approach
This commit is contained in:
parent
3f5f7a602d
commit
5c01142933
11 changed files with 184 additions and 232 deletions
11
lib/dune
11
lib/dune
|
|
@ -1,15 +1,8 @@
|
|||
(library
|
||||
(name lib)
|
||||
(public_name flake_env.lib)
|
||||
(libraries
|
||||
core
|
||||
core_unix
|
||||
core_unix.filename_unix
|
||||
core_unix.sys_unix
|
||||
ppx_yojson_conv
|
||||
re
|
||||
sha)
|
||||
(libraries fileutils ppx_yojson_conv re sha)
|
||||
(instrumentation
|
||||
(backend bisect_ppx))
|
||||
(preprocess
|
||||
(pps ppx_yojson_conv ppx_jane)))
|
||||
(pps ppx_yojson_conv)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue