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,3 @@
```ocaml
This isn't valid OCaml, so running MDX would fail.
```

View file

@ -0,0 +1,3 @@
(mdx
(files README.md)
(packages pkg))

View file

@ -0,0 +1,4 @@
(lang dune 2.4)
(name pkg)
(using mdx 0.1)

View file

@ -0,0 +1,3 @@
(library
(name public_lib)
(public_name pkg))

View file

@ -0,0 +1,13 @@
Dune does not fail if the `packages` are not available at evaluation time
(regression test fixed by ocaml/dune#3650)
$ dune build -p unrelated-package
Dune fails if the `packages` are not available at execution time
$ dune runtest -p unrelated-package
File "dune", line 3, characters 11-14:
3 | (packages pkg))
^^^
Error: Package pkg does not exist
[1]