ldionne wrote: The other alternative would be to use `#if __clang_ >= version` to conditionally enable `_LIBCPP_NODEBUG`, but that would have an adverse effect on older clangs as well, so that may not be the best option. https://github.com/llvm/llvm-project/pull/123318