Skip to content

Commit

Permalink
refactor: rename [fn] to [target] (#11034)
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <[email protected]>
  • Loading branch information
rgrinberg authored Oct 21, 2024
1 parent 5effa15 commit 66c7ecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dune_rules/merlin/ocaml_index.ml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let cctx_rules cctx =
let dir = Compilation_context.dir cctx in
let aggregate =
let obj_dir = Compilation_context.obj_dir cctx in
let fn = index_path_in_obj_dir obj_dir in
let target = index_path_in_obj_dir obj_dir in
let additional_libs =
let scope = Compilation_context.scope cctx in
(* Dune language >= 3.17 correctly passes the `-H` flag to the compiler. *)
Expand Down Expand Up @@ -79,7 +79,7 @@ let cctx_rules cctx =
(ocaml_index sctx ~dir)
[ A "aggregate"
; A "-o"
; Target fn
; Target target
; Deps modules_deps
; Dyn (Resolve.Memo.read additional_libs)
; Dyn (Resolve.Memo.read other_indexes_deps)
Expand Down

0 comments on commit 66c7ecd

Please sign in to comment.