summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSon Ho2022-05-10 14:15:34 +0200
committerSon Ho2022-05-10 14:15:34 +0200
commit5587701ef0015563b175c1a06517fca822e310c4 (patch)
tree887dd68e4b909042d36ae73d31e70700c2a7991c
parentc42b8de26e46d98d2dc0732888dc82f89102fb3e (diff)
Use the core_unix package instead of core
-rw-r--r--src/Translate.ml2
-rw-r--r--src/dune2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Translate.ml b/src/Translate.ml
index 740670f9..57b92e44 100644
--- a/src/Translate.ml
+++ b/src/Translate.ml
@@ -685,7 +685,7 @@ let translate_module (filename : string) (dest_dir : string) (config : config)
if not (Sys.file_exists dest_dir) then (
log#linfo (lazy ("Creating missing directory: " ^ dest_dir));
(* Create a directory with *default* permissions *)
- Core.Unix.mkdir_p dest_dir);
+ Core_unix.mkdir_p dest_dir);
(* Copy "Primitives.fst" - I couldn't find a "cp" function in the OCaml
* libraries... *)
diff --git a/src/dune b/src/dune
index 70de366c..ba6c076b 100644
--- a/src/dune
+++ b/src/dune
@@ -2,7 +2,7 @@
(executable
(name main)
(preprocess (pps ppx_deriving.show ppx_deriving.ord visitors.ppx))
- (libraries ppx_deriving yojson zarith easy_logging core))
+ (libraries ppx_deriving yojson zarith easy_logging core_unix))
(env
(dev (flags