Tip: Use -i to modify druntime/phobos without rebuilding them

Adam D. Ruppe destructionator at gmail.com
Mon Feb 10 13:06:52 UTC 2020


On Monday, 10 February 2020 at 06:19:44 UTC, Jonathan Marler 
wrote:
> dmd -i=std.process myapp.d

If you're doing an individual file too, you can specify it

dmd myapp.d /pat/to/modified/phobos/file.d

just specify it on the command line and it gets recompiled in.

That's what -i is doing on the inside of course just it might be 
easier to specify the one file in certain cases.



More information about the Digitalmars-d mailing list