This feature detection must be done at comptime so that we avoid generating invalid ASM for the target.