[libc++] Temporarily disable availability markup for the C++20 Synchronization library
authorLouis Dionne <ldionne@apple.com>
Thu, 27 Feb 2020 00:09:07 +0000 (19:09 -0500)
committerLouis Dionne <ldionne@apple.com>
Thu, 27 Feb 2020 00:10:27 +0000 (19:10 -0500)
The markup wasn't quite right, and that broke compilation with availability
markup enabled. I'm disabling it until I have time to fix it properly to
get the CI mostly green again.

libcxx/include/__config

index 6cd1266..b14cc84 100644 (file)
@@ -1435,7 +1435,7 @@ _LIBCPP_FUNC_VIS extern "C" void __sanitizer_annotate_contiguous_container(
 #  define _LIBCPP_AVAILABILITY_TO_CHARS                                        \
      _LIBCPP_AVAILABILITY_FILESYSTEM
 #  define _LIBCPP_AVAILABILITY_SYNC                                            \
-     __attribute__((availability(unavailable, message="The C++20 Synchronization Library requires runtime support that hasn't been shipped on Apple platforms yet!")))
+     /*FIXME:mark this as unavailable on Apple platforms*/
 #else
 #  define _LIBCPP_AVAILABILITY_SHARED_MUTEX
 #  define _LIBCPP_AVAILABILITY_BAD_VARIANT_ACCESS