Skip to content

Commit

Permalink
keep it simple by removing the warning message
Browse files Browse the repository at this point in the history
   The skip of bigarray remains

Signed-off-by: Alpha DIALLO <[email protected]>
Signed-off-by: Etienne Millon <[email protected]>
  • Loading branch information
moyodiallo authored and dra27 committed Jun 7, 2022
1 parent 0ffd189 commit b1f451d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/dune_rules/lib.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1262,12 +1262,7 @@ end = struct
if
String.equal "bigarray" (Lib_name.to_string name)
&& not (Ocaml.Version.has_bigarray_library ocaml_version)
then (
User_warning.emit ~loc
[ Pp.textf "Already in the Standard Library of OCaml %s"
db.lib_config.ocaml_version_string
];
Memo.return acc)
then Memo.return acc
else
let+ lib = resolve_dep db (loc, name) ~private_deps in
add_resolved acc lib
Expand Down

0 comments on commit b1f451d

Please sign in to comment.