[libcxx-commits] [libcxx] [libc++] Simplify features for detecting atomics' support. (PR #75553)
Konstantin Varlamov via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jan 29 14:25:01 PST 2024
================
@@ -183,25 +183,26 @@ def _getAndroidDeviceApi(cfg):
actions=[AddLinkFlag("-latomic")],
),
Feature(
- name="non-lockfree-atomics",
+ name="has-64-bit-atomics",
when=lambda cfg: sourceBuilds(
cfg,
"""
#include <atomic>
- struct Large { int storage[100]; };
+ struct Large { char storage[64/8]; };
----------------
var-const wrote:
Replaced with a comment.
https://github.com/llvm/llvm-project/pull/75553
More information about the libcxx-commits
mailing list