[Issue 16291] phobosinit fails to register encodings on individual tests
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Jul 19 10:38:24 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16291
--- Comment #9 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Ketmar Dark from comment #8)
> yes, i know. but std.encoding seems to not import anything that may
> indirectly import it back, and it *seems* to not break anything for my
> system.
That's because you don't have proper cycle detection on your system :) I
manually verified the cycle did exist. I don't remember the exact cycle
modules.
Note that there really aren't any cycles in terms of std.encoding requiring
some other module ctor to work correctly, but the runtime doesn't do a proper
job of sorting the order of the ctors, and when that is fixed, it can't solve
the ordering.
My fix that I pushed was not right -- the dependency is lost, and now may
result in incorrect ordering still.
--
More information about the Digitalmars-d-bugs
mailing list