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 authored and shonfeder committed Jun 20, 2024
1 parent c0dda33 commit 1b17be8
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 @@ -125,6 +125,7 @@ let setup_repository ?(local=false) ~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 1b17be8

Please sign in to comment.