https://issues.dlang.org/show_bug.cgi?id=15487
Issue ID: 15487
Summary: runtime switches should be env variables
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: enhancement
Priority: P1
Component: druntime
Assignee: [email protected]
Reporter: [email protected]
runtime switches such as --DRT-gcopt should be controllable via ENV variables
and not via switches.
once you have your own command line switch parse it can create problems.
(e.g. with vibe.d it does not work).
i think there should be a coherent strategy on how these switches can be
transformed to ENV variables.
go does this relatively nicely: https://golang.org/pkg/runtime/
--