Skip to content

Commit

Permalink
Fix clippy and rust-fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Nov 22, 2017
1 parent b576f1e commit f3ee983
Show file tree
Hide file tree
Showing 5 changed files with 422 additions and 203 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ matrix:
script: |
cargo install clippy
cargo clippy --all -- -D clippy-pedantic
cd coresimd
cargo clippy --all -- -D clippy-pedantic
allow_failures:
- env: RUSTFMT=On TARGET=x86_64-unknown-linux-gnu NO_ADD=1
- env: CLIPPY=On TARGET=x86_64-unknown-linux-gnu NO_ADD=1
Expand Down
10 changes: 8 additions & 2 deletions coresimd/src/runtime/x86.rs
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,14 @@ mod tests {
assert_eq!(cfg_feature_enabled!("avx512bw"), information.avx512bw());
assert_eq!(cfg_feature_enabled!("avx512dq"), information.avx512dq());
assert_eq!(cfg_feature_enabled!("avx512vl"), information.avx512vl());
assert_eq!(cfg_feature_enabled!("avx512ifma"), information.avx512_ifma());
assert_eq!(cfg_feature_enabled!("avx512vbmi"), information.avx512_vbmi());
assert_eq!(
cfg_feature_enabled!("avx512ifma"),
information.avx512_ifma()
);
assert_eq!(
cfg_feature_enabled!("avx512vbmi"),
information.avx512_vbmi()
);
assert_eq!(
cfg_feature_enabled!("avx512vpopcntdq"),
information.avx512_vpopcntdq()
Expand Down
Loading

0 comments on commit f3ee983

Please sign in to comment.