require ocaml 4.08, compat with containers 3.13

This commit is contained in:
Simon Cruanes 2023-12-07 00:14:16 -05:00
parent 85c39d3642
commit 54077446ca
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
3 changed files with 3 additions and 1 deletions

View file

@ -27,6 +27,7 @@
(and (and
(>= 3.6) (>= 3.6)
(< 4.0))) (< 4.0)))
(ocaml (>= 4.08))
(iter (iter
(>= 1.0)) (>= 1.0))
(trace (>= 0.3)) (trace (>= 0.3))

View file

@ -11,6 +11,7 @@ bug-reports: "https://github.com/c-cube/sidekick/issues/"
depends: [ depends: [
"dune" {>= "2.0"} "dune" {>= "2.0"}
"containers" {>= "3.6" & < "4.0"} "containers" {>= "3.6" & < "4.0"}
"ocaml" {>= "4.08"}
"iter" {>= "1.0"} "iter" {>= "1.0"}
"trace" {>= "0.3"} "trace" {>= "0.3"}
"zarith" {with-test} "zarith" {with-test}

View file

@ -293,7 +293,7 @@ let () =
let exit_ n = let exit_ n =
if Printexc.backtrace_status () then if Printexc.backtrace_status () then
Format.fprintf Format.std_formatter "%s@." b; Format.fprintf Format.std_formatter "%s@." b;
CCShims_.Stdlib.exit n Stdlib.exit n
in in
(match e with (match e with
| Error.Error msg -> | Error.Error msg ->