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