https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103728
--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject dot org> --- (In reply to Pierrick Bouvier from comment #2) > Problem with command line approach is that it implies to patch all our > scripts, which is *really* boring. At this point, manually adding rt_options > string in all binaries is easier. > > Alas, there is no environment variable for controlling this. Environment variables can be used if you declare: ``` extern(C) __gshared bool rt_envvars_enabled = true; ``` Then DRT_testmode=run-main should work.