Skip to content

Commit

Permalink
Only run test_support for v7 and aarch cpus
Browse files Browse the repository at this point in the history
  • Loading branch information
Licenser committed Mar 29, 2020
1 parent e162448 commit 64afa0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Cargo.lock
target
tags
crates/stdarch-gen/aarch64.rs
crates/stdarch-gen/arm.rs
crates/stdarch-gen/arm.rs
2 changes: 1 addition & 1 deletion crates/core_arch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ std_detect = { version = "0.*", path = "../std_detect" }
wasm-bindgen-test = "0.2.47"

[package.metadata.docs.rs]
rustdoc-args = [ "--cfg", "dox" ]
rustdoc-args = [ "--cfg", "dox" ]
1 change: 1 addition & 0 deletions crates/core_arch/src/arm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@ pub unsafe fn udf() -> ! {
}

#[cfg(test)]
#[cfg(any(target_arch = "aarch64", target_feature = "v7"))]
pub(crate) mod test_support;

0 comments on commit 64afa0f

Please sign in to comment.