On Thursday, 23 May 2019 at 15:25:31 UTC, Per Nordlöw wrote:
You mean wise versa, right?
Nevermind that comment. No "wise versa". You're answer is
correct, rikki cattermole.
Thanks
On Thursday, 23 May 2019 at 14:50:12 UTC, Per Nordlöw wrote:
How do I specify a druntime flag such as
--DRT-gcopt=gc:precise
when running with dub as
dub run --compiler=dmd --build=unittest
?
The precise GC flag was introduced in verison 2.085.0
See:
- https://dlang.org/changelog/2.
On Thursday, 23 May 2019 at 15:05:15 UTC, rikki cattermole wrote:
Should be as easy as
dflags "--DRT-gcopt=gc:precise"
right?
That would be passed to dmd, not to the build executable upon
running.
You mean wise versa, right?
Now I understand,
--DRT-gcopt=gc:precise
is passed to the
On 24/05/2019 3:03 AM, Per Nordlöw wrote:
On Thursday, 23 May 2019 at 15:02:12 UTC, rikki cattermole wrote:
And if I want to set this in a dub.sdl?
No can do. There is meant to be a way to set it in D however.
But I have heard mixed results (not that I've tried it).
Should be as easy as
On 24/05/2019 2:58 AM, Per Nordlöw wrote:
On Thursday, 23 May 2019 at 14:51:41 UTC, rikki cattermole wrote:
dub run --compiler=dmd --build=unittest -- --DRT-gcopt=gc:precise
Thanks!
And if I want to set this in a dub.sdl?
No can do. There is meant to be a way to set it in D however.
But I h
On Thursday, 23 May 2019 at 15:02:12 UTC, rikki cattermole wrote:
And if I want to set this in a dub.sdl?
No can do. There is meant to be a way to set it in D however.
But I have heard mixed results (not that I've tried it).
Should be as easy as
dflags "--DRT-gcopt=gc:precise"
right?
On 24/05/2019 3:01 AM, Per Nordlöw wrote:
On Thursday, 23 May 2019 at 14:51:41 UTC, rikki cattermole wrote:
dub run --compiler=dmd --build=unittest -- --DRT-gcopt=gc:precise
Hmm, the flag doesn't propagate to dmd when compiling in verbose mode
via -v as
dub run -v --compiler=dmd --buil
On Thursday, 23 May 2019 at 14:51:41 UTC, rikki cattermole wrote:
dub run --compiler=dmd --build=unittest --
--DRT-gcopt=gc:precise
Hmm, the flag doesn't propagate to dmd when compiling in verbose
mode via -v as
dub run -v --compiler=dmd --build=unittest --
--DRT-gcopt=gc:precise
Shou
On Thursday, 23 May 2019 at 14:51:41 UTC, rikki cattermole wrote:
dub run --compiler=dmd --build=unittest --
--DRT-gcopt=gc:precise
Thanks!
And if I want to set this in a dub.sdl?
How do I specify a druntime flag such as
--DRT-gcopt=gc:precise
when running with dub as
dub run --compiler=dmd --build=unittest
?
The precise GC flag was introduced in verison 2.085.0
See:
- https://dlang.org/changelog/2.085.0.html#gc_precise
- https://dlang.org/spec/garbage.html#pr
On 24/05/2019 2:50 AM, Per Nordlöw wrote:
How do I specify a druntime flag such as
--DRT-gcopt=gc:precise
when running with dub as
dub run --compiler=dmd --build=unittest
dub run --compiler=dmd --build=unittest -- --DRT-gcopt=gc:precise
11 matches
Mail list logo