Skip to content

Commit

Permalink
Don't load compiler-libs.common
Browse files Browse the repository at this point in the history
As discussed in ocaml/ocaml#12271 , don't load
compiler-libs.common
  • Loading branch information
aqjune committed May 31, 2023
1 parent 3e888c5 commit 0d05cc3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions load_camlp5_topfind.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Topdirs.dir_use Format.std_formatter "topfind";;
(* Don't load compiler-libs.common because it conflicts with toplevel's Env. *)
(* See also: https://github.com/ocaml/ocaml/issues/12271 *)
Topfind.don't_load ["compiler-libs.common"];;

Topfind.load_deeply ["camlp5"];;
Topdirs.dir_load Format.std_formatter "camlp5o.cma";;

0 comments on commit 0d05cc3

Please sign in to comment.