Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ mod c {
]);
}

if target_arch == "aarch64" && consider_float_intrinsics {
if (target_arch == "aarch64" || target_arch == "arm64ec") && consider_float_intrinsics {
sources.extend(&[
("__comparetf2", "comparetf2.c"),
("__extenddftf2", "extenddftf2.c"),
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub mod mem;
#[cfg(target_arch = "arm")]
pub mod arm;

#[cfg(target_arch = "aarch64")]
#[cfg(any(target_arch = "aarch64", target_arch = "arm64ec"))]
pub mod aarch64;

#[cfg(all(target_arch = "aarch64", target_os = "linux", not(feature = "no-asm"),))]
Expand Down
5 changes: 4 additions & 1 deletion testcrate/tests/lse.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#![feature(decl_macro)] // so we can use pub(super)
#![cfg(all(target_arch = "aarch64", not(feature = "no-asm")))]
#![cfg(all(
any(target_arch = "aarch64", target_arch = "arm64ec"),
not(feature = "no-asm")
))]

/// Translate a byte size to a Rust type.
macro int_ty {
Expand Down