Skip to content

Commit

Permalink
Enable -warn-error +partial-match by default to ensure changes in a d…
Browse files Browse the repository at this point in the history
…ependency do not lead into unforseen runtime failures
  • Loading branch information
kit-ty-kate committed Sep 19, 2023
1 parent d2fa84d commit 5967b2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/opam_build.ml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ let setup_repository ~variant ~for_docker ~opam_version =
env "OPAMSOLVERTIMEOUT" "500" :: (* Increase timeout. Poor mccs is doing its best *)
env "OPAMPRECISETRACKING" "1" :: (* Mitigate https://github.com/ocaml/opam/issues/3997 *)
env "CI" "true" :: env "OPAM_REPO_CI" "true" :: (* Advertise CI for test frameworks *)
env "OCAMLPARAM" "warn-error=+8,_" :: (* https://github.com/ocaml/ocaml/issues/12475 *)
[
run "rm -rf opam-repository/";
copy ["."] ~dst:"opam-repository/";
Expand Down

0 comments on commit 5967b2e

Please sign in to comment.