This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,23 @@
Libraries designed as the "stdlib" may not use (include_subdirs qualified)
Although it's just an artificial limitation and when we can lift it if the need
arises to.
$ cat >dune-project <<EOF
> (lang dune 3.7)
> (using experimental_building_ocaml_compiler_with_dune 0.1)
> EOF
$ cat >dune <<EOF
> (include_subdirs qualified)
> (library
> (name foo)
> (stdlib))
> EOF
$ dune build @check
File "dune", line 1, characters 0-27:
1 | (include_subdirs qualified)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: a library with (stdlib ...) may not use (include_subdirs qualified)
[1]