Skip to content

Commit e61a650

Browse files
committed
compiler-builtins: Change gating for outline atomic symbols
Build the symbols whenever outline atomics is in our baseline.
1 parent 654d71e commit e61a650

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/compiler-builtins/compiler-builtins/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ pub mod arm;
6060
#[cfg(any(target_arch = "aarch64", target_arch = "arm64ec"))]
6161
pub mod aarch64;
6262

63-
#[cfg(all(target_arch = "aarch64", target_os = "linux", not(feature = "no-asm"),))]
64-
pub mod aarch64_linux;
63+
#[cfg(all(target_arch = "aarch64", target_feature = "outline-atomics"))]
64+
pub mod aarch64_outline_atomics;
6565

6666
#[cfg(all(
6767
kernel_user_helpers,

0 commit comments

Comments
 (0)