Skip to content

Commit

Permalink
Wrap the library Alt_ergo_prelude (#1223)
Browse files Browse the repository at this point in the history
Unwrapped this library was a big mistake, mea maxima culpa.
When I added this prelude, I did know how to use `-open` with a
wrapped library.

I couldn't compile smtml with `alt-ergo-lib` because the library of
smtml depends on a module Prelude from another library.
  • Loading branch information
Halbaroth authored Aug 28, 2024
1 parent 8728bf7 commit 6d54433
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
File renamed without changes.
3 changes: 1 addition & 2 deletions src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
(library
(name alt_ergo_prelude)
(package alt-ergo-lib)
(wrapped false)
(modules prelude)
(modules alt_ergo_prelude)
)
2 changes: 1 addition & 1 deletion src/lib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
(library
(name AltErgoLib)
(public_name alt-ergo-lib)
(ocamlopt_flags (:standard -open Prelude))
(flags (:standard -open Alt_ergo_prelude))
; external dependencies
(libraries
seq
Expand Down

0 comments on commit 6d54433

Please sign in to comment.