Bug 15487 – runtime switches should be env variables

Status
NEW
Severity
enhancement
Priority
P4
Component
druntime
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2015-12-31T09:47:33Z
Last change time
2024-12-07T13:36:10Z
Assigned to
No Owner
Creator
Yawniek
Moved to GitHub: dmd#17321 →

Comments

Comment #0 by dlang — 2015-12-31T09:47:33Z
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/
Comment #1 by robert.schadek — 2024-12-07T13:36:10Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17321 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB