On Wed, Dec 1, 2010 at 2:36 PM, bearophile <[email protected]> wrote:

> Franciszek Czekala:
>
> > How do you set the stack size for D programs?
>
> On Windows with DMD this is how to set the max stack size to about 1.5 GB
> of the "test.d" module:
> dmd -L/STACK:1500000000 test.d
>
> (I'd like D to have a standard syntax (maybe a pragma(...)) to tell the
> other parts of the compilation chain how much stack to use).
>

If the stack size is only set by the executable on Windows, I don't see how
that would be useful.

Reply via email to