Thread overview
[Issue 18120] Document setting DRT options via the environment
[Issue 18120] Allow DRT options to be set via the environment
Dec 25, 2017
Rainer Schuetze
Dec 30, 2017
greenify
Dec 30, 2019
berni44
Jan 26, 2020
berni44
Mar 21, 2020
Basile-z
Dec 17, 2022
Iain Buclaw
December 25, 2017
https://issues.dlang.org/show_bug.cgi?id=18120

Rainer Schuetze <r.sagitario@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario@gmx.de

--- Comment #1 from Rainer Schuetze <r.sagitario@gmx.de> ---
If grabbed via rt_configOption, the DRT options are read from the environment variable "DRT_<OPT>" if rt_envvars_enabled is set in the binary. See https://dlang.org/spec/garbage.html#gc_config for an example.

--
December 30, 2017
https://issues.dlang.org/show_bug.cgi?id=18120

Steven Schveighoffer <schveiguy@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy@yahoo.com

--- Comment #2 from Steven Schveighoffer <schveiguy@yahoo.com> ---
so close this?

--
December 30, 2017
https://issues.dlang.org/show_bug.cgi?id=18120

greenify <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|druntime                    |dlang.org
            Summary|Allow DRT options to be set |Document setting DRT
                   |via the environment         |options via the environment

--- Comment #3 from greenify <greeenify@gmail.com> ---
Let's keep this open and change the purpose? Improving the documentation? For example, we could add a dedicated page about druntime's option to the spec.

--
December 30, 2017
https://issues.dlang.org/show_bug.cgi?id=18120

--- Comment #4 from Steven Schveighoffer <schveiguy@yahoo.com> ---
Great idea! We actually I think should summarize in a nice document all the ways you can customize druntime, command line, environment, and in the binary.

--
December 30, 2019
https://issues.dlang.org/show_bug.cgi?id=18120

berni44 <bugzilla@d-ecke.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@d-ecke.de

--- Comment #5 from berni44 <bugzilla@d-ecke.de> ---
I recently found a start in rt.config. But I'm not sure, if that's complete:

https://dlang.org/phobos/rt_config.html

--
December 30, 2019
https://issues.dlang.org/show_bug.cgi?id=18120

--- Comment #6 from Steven Schveighoffer <schveiguy@yahoo.com> ---
I think that's the wrong place to document. They should be documented elsewhere (but the document should be linked), because the options are scattered all over the place (GC, cycle detection, unittest, etc.).

One document to show how to USE the DRT options should be a nice top-level article.

--
January 26, 2020
https://issues.dlang.org/show_bug.cgi?id=18120

berni44 <bugzilla@d-ecke.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp@gmx.com

--- Comment #7 from berni44 <bugzilla@d-ecke.de> ---
*** Issue 19951 has been marked as a duplicate of this issue. ***

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=18120

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=18120

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--