Zingam wrote: @smallp-o-p I think you might need to implement availability macros for macOS. I've done that just for free functions, so I'm not entirely sure. Look for the `availability` header. https://github.com/llvm/llvm-project/pull/141312