www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18662] New: -i -deps should not recurse into modules excluded

https://issues.dlang.org/show_bug.cgi?id=18662

          Issue ID: 18662
           Summary: -i -deps should not recurse into modules excluded by
                    -i
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: default_357-line yahoo.de

I thought that -i could be really useful to reduce memory usage in that
scenario. Unfortunately, even though it excludes std. when building, it still
recurses into it when running -unittest -deps, with all the attendant 10GB
memory usage that implies.

Any chance dmd FILE -i -deps could be made to not recurse into modules that -i
excludes anyways?

--
Mar 26 2018