another cool RTInfo trick - i want in runtime

Vladimir Panteleev vladimir at thecybershadow.net
Thu Jan 16 08:26:48 PST 2014


On Thursday, 16 January 2014 at 16:21:25 UTC, Adam D. Ruppe wrote:
> On Thursday, 16 January 2014 at 16:09:52 UTC, Vladimir 
> Panteleev wrote:
>> I guess this won't work with rdmd, then?
>
> That's due to a deficiency in rdmd: tt doesn't let you forward 
> all the available module options to dmd, even though it would 
> make sense to do it, for this kind of replaceable config module 
> thing and also for replacing say one phobos file at a time for 
> doing dev work on that . rdmd should be fixed to allow you to 
> pass more than one explicit module (maybe just add an option 
> like --additional-dmd-option=file.d).

That sounds overcomplicated.

Why not move the standard search paths to after the users' ones? 
So that users can override Phobos and Druntime modules simply by 
creating them within their search path.


More information about the Digitalmars-d mailing list