Bug 18650 – DMD shouldn't include all unittests with -deps

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-03-23T16:19:48Z
Last change time
2024-12-13T18:57:57Z
Assigned to
No Owner
Creator
Seb
Moved to GitHub: dmd#19412 →

Comments

Comment #0 by greensunny12 — 2018-03-23T16:19:48Z
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/[email protected]
Comment #1 by robert.schadek — 2024-12-13T18:57:57Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19412 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB