fix tests to work with --feature c

This commit is contained in:
Joshua Nelson
2023-06-27 02:31:42 +00:00
parent e7c4a45348
commit 1a41e48d11
2 changed files with 2 additions and 5 deletions

View File

@@ -22,6 +22,7 @@
//! //!
//! The original `lse.S` has some truly horrifying code that expects to be compiled multiple times with different constants. //! The original `lse.S` has some truly horrifying code that expects to be compiled multiple times with different constants.
//! We do something similar, but with macro arguments. //! We do something similar, but with macro arguments.
#![cfg_attr(feature = "c", allow(unused_macros))] // avoid putting the macros into a submodule
// We don't do runtime dispatch so we don't have to worry about the `__aarch64_have_lse_atomics` global ctor. // We don't do runtime dispatch so we don't have to worry about the `__aarch64_have_lse_atomics` global ctor.

View File

@@ -57,11 +57,7 @@ pub mod mem;
#[cfg(target_arch = "arm")] #[cfg(target_arch = "arm")]
pub mod arm; pub mod arm;
#[cfg(all( #[cfg(all(target_arch = "aarch64", not(feature = "no-asm"),))]
target_arch = "aarch64",
not(feature = "no-asm"),
not(feature = "optimized-c")
))]
pub mod aarch64; pub mod aarch64;
#[cfg(all( #[cfg(all(