Skip to content

Commit

Permalink
Adapt to new mechanism for loading topdirs.cmi
Browse files Browse the repository at this point in the history
  • Loading branch information
dra27 authored and rgrinberg committed Apr 16, 2022
1 parent 5d72a0a commit 4261416
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/uTop_main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1596,6 +1596,9 @@ let protocol_version = 1

let main_aux ~initial_env =
Arg.parse args file_argument usage;
#if OCAML_VERSION >= (5, 0, 0)
Topcommon.load_topdirs_signature ();
#endif
if not (prepare ()) then exit 2;
if !emacs_mode then begin
Printf.printf "protocol-version:%d\n%!" protocol_version;
Expand Down

0 comments on commit 4261416

Please sign in to comment.