Skip to content

Commit 454dae6

Browse files
committed
[coq] Renaming function as suggested in review.
Signed-off-by: Emilio Jesus Gallego Arias <e+git@x80.org>
1 parent 0337d3e commit 454dae6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dune_rules/coq_rules.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module Util = struct
2020
let info = Lib.info t in
2121
Lib_info.src_dir info)
2222

23-
let native_paths ts =
23+
let coq_nativelib_cmi_dirs ts =
2424
List.fold_left ts ~init:Path.Set.empty ~f:(fun acc t ->
2525
let info = Lib.info t in
2626
(* We want the cmi files *)
@@ -229,7 +229,7 @@ module Context = struct
229229
let mode = select_native_mode ~sctx ~buildable in
230230
let native_includes =
231231
Lib.DB.resolve lib_db (Loc.none, Lib_name.of_string "coq.kernel")
232-
|> Result.map ~f:(fun lib -> Util.native_paths [ lib ])
232+
|> Result.map ~f:(fun lib -> Util.coq_nativelib_cmi_dirs [ lib ])
233233
in
234234
let native_theory_includes =
235235
setup_native_theory_includes ~sctx ~mode ~theories_deps ~theory_dirs

0 commit comments

Comments
 (0)