digitalmars.D - Documentation for --DRT- switches
- forkit (3/3) Feb 11 2022 Is there any documentation regarding the esoteric --DRT- switches?
- Mike Parker (5/9) Feb 11 2022 The documented ones I'm aware of are here:
- bauss (13/17) Feb 11 2022 Look for the usage of the function `rt_configOption` in the D
Is there any documentation regarding the esoteric --DRT- switches? One of which is mentioned here: https://issues.dlang.org/show_bug.cgi?id=21339
Feb 11 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=21339The documented ones I'm aware of are here: https://dlang.org/spec/garbage.html#gc_config https://dlang.org/spec/module.html#order_of_static_ctor They definitely should be collected in a single location.
Feb 11 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=21339Look 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.
Feb 11 2022