On Friday, 31 May 2019 at 15:41:24 UTC, Anonymouse wrote:
On Friday, 31 May 2019 at 15:31:13 UTC, kinke wrote:
On Friday, 31 May 2019 at 10:27:44 UTC, Anonymouse wrote:
$ grep dflags dub.json
"dflags": [ "-lowmem", "--DRT-gcopt=profile:1" ],
This should work indeed. I guess it doesn't
On Friday, 31 May 2019 at 13:50:57 UTC, Andre Pany wrote:
You can specify the parameters also in code. See example here
https://dlang.org/changelog/2.085.0.html#gc_cleanup
I need it to apply to dmd though, I'm exceeding memory limits
when compiling. Once done the program doesn't need a whole
On Friday, 31 May 2019 at 15:31:13 UTC, kinke wrote:
On Friday, 31 May 2019 at 10:27:44 UTC, Anonymouse wrote:
$ grep dflags dub.json
"dflags": [ "-lowmem", "--DRT-gcopt=profile:1" ],
This should work indeed. I guess it doesn't because dub
probably uses a response file containing all
On Friday, 31 May 2019 at 10:27:44 UTC, Anonymouse wrote:
$ grep dflags dub.json
"dflags": [ "-lowmem", "--DRT-gcopt=profile:1" ],
This should work indeed. I guess it doesn't because dub probably
uses a response file containing all cmdline options, whereas
-lowmem definitely [and --DRT-*
On Friday, 31 May 2019 at 13:37:05 UTC, Anonymouse wrote:
On Friday, 31 May 2019 at 10:47:20 UTC, Mike Parker wrote:
On Friday, 31 May 2019 at 10:27:44 UTC, Anonymouse wrote:
What is the correct way?
--DRT flags are for run time, not compile time. They're
intended to be passed to your
On Friday, 31 May 2019 at 10:47:20 UTC, Mike Parker wrote:
On Friday, 31 May 2019 at 10:27:44 UTC, Anonymouse wrote:
What is the correct way?
--DRT flags are for run time, not compile time. They're
intended to be passed to your executable and not the compiler.
From the docs [1]:
"By
On Friday, 31 May 2019 at 10:47:20 UTC, Mike Parker wrote:
On Friday, 31 May 2019 at 10:27:44 UTC, Anonymouse wrote:
What is the correct way?
--DRT flags are for run time, not compile time. They're
intended to be passed to your executable and not the compiler.
From the docs [1]:
"By
On Friday, 31 May 2019 at 10:27:44 UTC, Anonymouse wrote:
What is the correct way?
--DRT flags are for run time, not compile time. They're intended
to be passed to your executable and not the compiler. From the
docs [1]:
"By default, GC options can only be passed on the command line of
I'm trying to tweak the GC when compiling with dub, starting with
something easy like profile:1.
$ grep dflags dub.json
"dflags": [ "-lowmem", "--DRT-gcopt=profile:1" ],
$ dub test
Doesn't work, doesn't give any extra output. Entering bogus flags
like --DRT-gcopt=banana:1 doesn't evoke