Skip to content

Commit

Permalink
remove unneeded change in lib_rules
Browse files Browse the repository at this point in the history
Signed-off-by: Javier Chávarri <javier.chavarri@gmail.com>
  • Loading branch information
jchavarri committed Mar 13, 2024
1 parent a17622a commit 803a6fe
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/dune_rules/lib_rules.ml
Original file line number Diff line number Diff line change
Expand Up @@ -609,11 +609,7 @@ let library_rules
~dir_contents
~vlib_stubs_o_files)
and+ () = Odoc.setup_private_library_doc_alias sctx ~scope ~dir:ctx_dir lib
and+ () =
let* enabled_if = Lib_info.enabled lib_info in
match enabled_if with
| Disabled_because_of_enabled_if -> Memo.return ()
| Normal | Optional -> Odoc.setup_library_odoc_rules cctx local_lib
and+ () = Odoc.setup_library_odoc_rules cctx local_lib
and+ () =
Sub_system.gen_rules
{ super_context = sctx; dir; stanza = lib; scope; source_modules; compile_info }
Expand Down

0 comments on commit 803a6fe

Please sign in to comment.