diff --git a/src/dune_rules/findlib/meta.ml b/src/dune_rules/findlib/meta.ml index 67a835bb6ac6..462d9e4c74a8 100644 --- a/src/dune_rules/findlib/meta.ml +++ b/src/dune_rules/findlib/meta.ml @@ -238,8 +238,6 @@ let builtins ~stdlib_dir ~version:ocaml_version = in let dynlink = simple "dynlink" [] ~dir:"+" in let bytes = dummy "bytes" in - let uchar = dummy "uchar" in - let seq = dummy "seq" in let threads = { name = Some (Lib_name.of_string "threads") ; entries = @@ -292,18 +290,6 @@ let builtins ~stdlib_dir ~version:ocaml_version = ; ocamldoc ] in - let base = - if Ocaml_version.stdlib_includes_uchar ocaml_version then - uchar :: base - else - base - in - let base = - if Ocaml_version.stdlib_includes_seq ocaml_version then - seq :: base - else - base - in let base = if Path.exists (Path.relative stdlib_dir "graphics.cma") then graphics :: base diff --git a/src/dune_rules/ocaml_version.ml b/src/dune_rules/ocaml_version.ml index c96b8048c0fc..ce2024d460e1 100644 --- a/src/dune_rules/ocaml_version.ml +++ b/src/dune_rules/ocaml_version.ml @@ -20,12 +20,8 @@ let supports_response_file version = version >= (4, 05, 0) let ocamlmklib_supports_response_file version = version >= (4, 08, 0) -let stdlib_includes_uchar version = version >= (4, 03, 0) - let stdlib_includes_bigarray version = version >= (4, 07, 0) -let stdlib_includes_seq version = version >= (4, 07, 0) - let ooi_supports_no_approx version = version >= (4, 05, 0) let ooi_supports_no_code version = version >= (4, 05, 0)