[Issue 15487] New: runtime switches should be env variables
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Dec 31 01:47:33 PST 2015
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: nobody at puremagic.com
Reporter: dlang at srtnwz.com
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/
--
More information about the Digitalmars-d-bugs
mailing list