Skip to content

Commit 800d97b

Browse files
committed
Change aarch64_linux module and lse tests to have the same gating
Trying to run testcrate on non-linux aarch64 currently hits a compilation error. Make this test linux-only, to be consistent with the `aarch64_linux` module that it depends on. Additionally, enable the `aarch64_linux` module for `target_arch = "arm64ec"` to be the same as these tests.
1 parent 7240849 commit 800d97b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

testcrate/tests/lse.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#![feature(decl_macro)] // so we can use pub(super)
2-
#![cfg(all(
3-
any(target_arch = "aarch64", target_arch = "arm64ec"),
4-
not(feature = "no-asm")
5-
))]
2+
#![cfg(all(target_arch = "aarch64", target_os = "linux", not(feature = "no-asm")))]
63

74
/// Translate a byte size to a Rust type.
85
macro int_ty {

0 commit comments

Comments
 (0)