[Issue 18650] New: DMD shouldn't include all unittests with -deps
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 23 16:19:48 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18650
Issue ID: 18650
Summary: DMD shouldn't include all unittests with -deps
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: greensunny12 at gmail.com
See https://github.com/dlang/phobos/pull/6159#issuecomment-364849456 for a
longer discussion.
Short summary. With -deps ALL unittest are included which is pretty bad because
- it has severe impacts on the build-times. A quote: "I like regex! (Too bad
importing std.regex increases compiletime by 12 seconds in release builds...)"
- it limits what Phobos can do with its build scripts (we can't introduce
StdUnittest or similar versions)
- it will cause problems with -dip1000 as all DIP1000 unittests need to be
versioned out until then
Related discussion on the NG:
https://forum.dlang.org/post/mailman.1033.1521062556.3374.digitalmars-d@puremagic.com
--
More information about the Digitalmars-d-bugs
mailing list