fix tests to work with --feature c
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user