Skip to content

Commit

Permalink
Tweak cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jan 7, 2025
1 parent e883803 commit c05229d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/imp/atomic128/aarch64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ mod detect;
mod detect;
#[cfg(not(portable_atomic_no_outline_atomics))]
#[cfg(any(test, not(any(target_feature = "lse", portable_atomic_target_feature = "lse"))))]
#[cfg(target_os = "windows")]
#[cfg(windows)]
#[path = "../detect/aarch64_windows.rs"]
mod detect;

Expand Down Expand Up @@ -192,7 +192,7 @@ macro_rules! debug_assert_lse {
target_os = "openbsd",
all(target_os = "illumos", portable_atomic_outline_atomics),
target_os = "fuchsia",
target_os = "windows",
windows,
),
))]
#[cfg(not(any(target_feature = "lse", portable_atomic_target_feature = "lse")))]
Expand Down Expand Up @@ -230,7 +230,7 @@ macro_rules! debug_assert_lse2 {
all(target_os = "illumos", portable_atomic_outline_atomics),
// These don't support detection of FEAT_LSE2.
// target_os = "fuchsia",
// target_os = "windows",
// windows,
),
))]
#[cfg(not(any(target_feature = "lse2", portable_atomic_target_feature = "lse2")))]
Expand Down Expand Up @@ -271,7 +271,7 @@ macro_rules! debug_assert_lse128 {
all(target_os = "illumos", portable_atomic_outline_atomics),
// These don't support detection of FEAT_LSE128.
// target_os = "fuchsia",
// target_os = "windows",
// windows,
),
))]
#[cfg(not(any(target_feature = "lse128", portable_atomic_target_feature = "lse128")))]
Expand Down Expand Up @@ -312,7 +312,7 @@ macro_rules! debug_assert_rcpc3 {
all(target_os = "illumos", portable_atomic_outline_atomics),
// These don't support detection of FEAT_LRCPC3.
// target_os = "fuchsia",
// target_os = "windows",
// windows,
),
))]
#[cfg(not(any(target_feature = "rcpc3", portable_atomic_target_feature = "rcpc3")))]
Expand Down Expand Up @@ -525,7 +525,7 @@ unsafe fn atomic_load(src: *mut u128, order: Ordering) -> u128 {
all(target_os = "illumos", portable_atomic_outline_atomics),
// These don't support detection of FEAT_LSE2.
// target_os = "fuchsia",
// target_os = "windows",
// windows,
),
))]
{
Expand Down Expand Up @@ -622,7 +622,7 @@ unsafe fn atomic_load(src: *mut u128, order: Ordering) -> u128 {
all(target_os = "illumos", portable_atomic_outline_atomics),
// These don't support detection of FEAT_LSE2.
// target_os = "fuchsia",
// target_os = "windows",
// windows,
),
)))]
// SAFETY: the caller must uphold the safety contract.
Expand Down Expand Up @@ -948,7 +948,7 @@ unsafe fn atomic_store(dst: *mut u128, val: u128, order: Ordering) {
all(target_os = "illumos", portable_atomic_outline_atomics),
// These don't support detection of FEAT_LSE2.
// target_os = "fuchsia",
// target_os = "windows",
// windows,
),
))]
{
Expand Down Expand Up @@ -1053,7 +1053,7 @@ unsafe fn atomic_store(dst: *mut u128, val: u128, order: Ordering) {
all(target_os = "illumos", portable_atomic_outline_atomics),
// These don't support detection of FEAT_LSE2.
// target_os = "fuchsia",
// target_os = "windows",
// windows,
),
)))]
// SAFETY: the caller must uphold the safety contract.
Expand Down Expand Up @@ -1278,7 +1278,7 @@ unsafe fn atomic_compare_exchange(
target_os = "openbsd",
all(target_os = "illumos", portable_atomic_outline_atomics),
target_os = "fuchsia",
target_os = "windows",
windows,
),
))]
#[cfg(not(any(target_feature = "lse", portable_atomic_target_feature = "lse")))]
Expand Down Expand Up @@ -1417,7 +1417,7 @@ unsafe fn atomic_compare_exchange(
target_os = "openbsd",
all(target_os = "illumos", portable_atomic_outline_atomics),
target_os = "fuchsia",
target_os = "windows",
windows,
),
)))]
#[cfg(not(any(target_feature = "lse", portable_atomic_target_feature = "lse")))]
Expand Down

0 comments on commit c05229d

Please sign in to comment.