On Wednesday, 26 March 2014 at 15:58:32 UTC, bearophile wrote: > Is the -vtls compiler switch enough? The JSON output with -X will also tell you if it is gshared. But in both cases you'd have to run the compiler twice and read the output instead of just getting the info at compile time from inside D.