Commit 04c562e
Parser.Dep: respect fstar.include in directory expansion
The all_fstar_files_in_dir function was unconditionally recursing into
all subdirectories when --dep was given a directory argument. This
changes it to use Find.expand_include_d, which only recurses into
subdirectories listed in fstar.include files.
Without fstar.include, only F* files in the immediate directory are
found. With fstar.include, only the listed subdirectories are traversed
(matching the existing behavior of the include path mechanism).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 8c6f70d commit 04c562e
1 file changed
+14
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1696 | 1696 | | |
1697 | 1697 | | |
1698 | 1698 | | |
1699 | | - | |
1700 | | - | |
1701 | | - | |
1702 | | - | |
1703 | | - | |
1704 | | - | |
1705 | | - | |
1706 | | - | |
1707 | | - | |
1708 | | - | |
1709 | | - | |
1710 | | - | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
1711 | 1713 | | |
1712 | 1714 | | |
1713 | 1715 | | |
| |||
0 commit comments