https://issues.dlang.org/show_bug.cgi?id=13366
--- Comment #4 from Vladimir Panteleev <[email protected]> --- I don't think that would be possible unless you knew whether a module is actually part of the standard library (phobos.lib) or not. But, if you solve that, you can solve the original problem since now you know whether to compile/link it or not. --
