https://issues.dlang.org/show_bug.cgi?id=18774 --- Comment #2 from hsteoh at quickfur.ath.cx --- P.S. and the `if (__ctfe)` hack I use only saves on executable size, it doesn't suppress the symbol itself from appearing in the object file, so it's probably not good enough for your use case. --