diff --git a/src/third_party/compiler-rt/src/lib/builtins/atomic.c b/src/third_party/compiler-rt/src/lib/builtins/atomic.c index aded25d9ba..6a58f9189d 100644 --- a/src/third_party/compiler-rt/src/lib/builtins/atomic.c +++ b/src/third_party/compiler-rt/src/lib/builtins/atomic.c @@ -102,8 +102,8 @@ __inline static void lock(Lock *l) { OSSpinLockLock(l); } static Lock locks[SPINLOCK_COUNT]; // initialized to OS_SPINLOCK_INIT which is 0 #else -_Static_assert(__atomic_always_lock_free(sizeof(uintptr_t), 0), - "Implementation assumes lock-free pointer-size cmpxchg"); +//_Static_assert(__atomic_always_lock_free(sizeof(uintptr_t), 0), +// "Implementation assumes lock-free pointer-size cmpxchg"); typedef _Atomic(uintptr_t) Lock; /// Unlock a lock. This is a release operation. __inline static void unlock(Lock *l) {