Skip to content

Commit

Permalink
Wrap the library Alt_ergo_prelude
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 committed Aug 28, 2024
1 parent 8728bf7 commit e05dba8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion 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)
)
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__Prelude))
; external dependencies
(libraries
seq
Expand Down

0 comments on commit e05dba8

Please sign in to comment.