Bounty for -minimal compiler flag
Adam D. Ruppe
destructionator at gmail.com
Fri Feb 14 20:44:30 PST 2014
On Saturday, 15 February 2014 at 04:34:30 UTC, 1100110 wrote:
> Is it just ModuleInfo, or...?
Yeah, that's pretty much all it actually does, and it isn't quite
complete - array bounds checking for example won't work because
they depend on module info.
But I don't think they should depend on it anyway, regardless of
compiler switches.
> I thought that was for the stdlib, not the runtime?
They're the same thing when they are build - druntime and phobos
are compiled together into phobos.lib. So turning them off means
it won't link it.
Then if you provide an object.d in your local directory, it won't
even try to load any of the regular druntime. This is how I did
it in my minimal.zip.
More information about the Digitalmars-d-announce
mailing list