Yeah, it needs to be a runtime check for Apple systems. But that runtime check can be compile-time conditionally added for Apple systems only I guess.
I brought related topics up before:
and here
but I would like to reiterate on this issue as it is really pressing now with ABI stability, not only for SDK features anymore but actually standard library features.