Documentation for --DRT- switches

bauss jj_1337 at live.dk
Fri Feb 11 11:43:22 UTC 2022


On Friday, 11 February 2022 at 11:15:05 UTC, forkit wrote:
> Is there any documentation regarding the esoteric --DRT- 
> switches?
>
> One of which is mentioned here:
>
> https://issues.dlang.org/show_bug.cgi?id=21339

Look for the usage of the function `rt_configOption` in the D 
runtime.

Ex. for `trapExceptions` you can find it in dmain2.d used in the 
function `parseExceptionOptions`.

I don't think there are any official documentations of all the 
different runtime configurations, which I honestly believe there 
should be.

But by looking at usages of that function you'll be able to see 
somewhat what options are available.

https://github.com/dlang/druntime/search?q=rt_configOption

I'm not sure if there are other functions related to it either, 
there probably are, so this probably doesn't cover it all.


More information about the Digitalmars-d mailing list