File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -603,6 +603,10 @@ binary at the same place as where ``ocamlc`` was found.
603
603
Executables can also be linked as object or shared object files. See
604
604
`linking modes `_ for more information.
605
605
606
+ Starting from dune 2.8, executable modules without interface files (e.g. `.mli `,
607
+ `.rei `) are compiled against empty interfaces in order to improve dead code
608
+ detection.
609
+
606
610
``<optional-fields> `` are:
607
611
608
612
- ``(public_name <public-name>) `` specifies that the executable should be
@@ -1310,6 +1314,10 @@ running dune runtest you can use the following stanza:
1310
1314
(libraries alcotest mylib)
1311
1315
(action (run %{test} -e)))
1312
1316
1317
+ Starting from dune 2.8, test modules without interface files (e.g. `.mli `,
1318
+ `.rei `) are compiled against empty interfaces in order to improve dead code
1319
+ detection.
1320
+
1313
1321
test
1314
1322
----
1315
1323
You can’t perform that action at this time.
0 commit comments