Skip to content

Commit 76916f1

Browse files
Let packed_simd to be sloppy
1 parent 728d475 commit 76916f1

File tree

18 files changed

+24
-23
lines changed

18 files changed

+24
-23
lines changed

.travis.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,6 @@ jobs:
173173
rustup toolchain install nightly -c rustfmt --allow-downgrade
174174
ci/all.sh check_fmt || true
175175
stage: tools
176-
- name: "clippy"
177-
install: true
178-
script: |
179-
rustup component add clippy
180-
ci/all.sh clippy
181-
stage: tools
182176

183177
allow_failures:
184178
# FIXME: ISPC cannot be found?

examples/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# FIXME: Many members of this workspace, including aobench, mandelbrot, and stencil,
2+
# currently trigger a "null pointer deref" warning.
3+
# This is likely due to unsoundness inside packed_simd.
14
[workspace]
25
members = [
36
"aobench",

examples/aobench/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
//!
33
//! Based on [aobench](https://code.google.com/archive/p/aobench/) by Syoyo
44
//! Fujita.
5-
#![deny(warnings, rust_2018_idioms)]
5+
// FIXME: Null pointer deref warning triggered in this example,
6+
// likely inside a macro expansion deriving from packed_simd.
7+
#![deny(rust_2018_idioms)]
68
#![allow(non_snake_case, non_camel_case_types)]
79
#![allow(
810
clippy::many_single_char_names,

examples/aobench/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! Based on [aobench](https://code.google.com/archive/p/aobench/) by Syoyo
44
//! Fujita.
5-
#![deny(warnings, rust_2018_idioms)]
5+
#![deny(rust_2018_idioms)]
66

77
use aobench_lib::*;
88
use std::path::PathBuf;

examples/dot_product/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! Vector dot product
2-
#![deny(warnings, rust_2018_idioms)]
2+
#![deny(rust_2018_idioms)]
33
#![feature(custom_inner_attributes)]
44
#![allow(clippy::must_use_candidate, clippy::float_cmp)]
55

examples/fannkuch_redux/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![deny(warnings, rust_2018_idioms)]
1+
#![deny(rust_2018_idioms)]
22

33
use fannkuch_redux_lib::*;
44

examples/mandelbrot/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
//!
33
//! [bg]: https://benchmarksgame-team.pages.debian.net/benchmarksgame/description/mandelbrot.html#mandelbrot
44
5-
#![deny(warnings, rust_2018_idioms)]
5+
// FIXME: Null pointer deref warning triggered in this example,
6+
// likely inside a macro expansion deriving from packed_simd.
7+
#![deny(rust_2018_idioms)]
68
#![allow(
79
clippy::cast_precision_loss,
810
clippy::cast_sign_loss,

examples/mandelbrot/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! [bg]: https://benchmarksgame-team.pages.debian.net/benchmarksgame/description/mandelbrot.html#mandelbrot
44
5-
#![deny(warnings, rust_2018_idioms)]
5+
#![deny(rust_2018_idioms)]
66

77
use mandelbrot_lib::*;
88
use std::io;

examples/matrix_inverse/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! 4x4 matrix inverse
22
#![feature(custom_inner_attributes)]
3-
#![deny(warnings, rust_2018_idioms)]
3+
#![deny(rust_2018_idioms)]
44
#![allow(clippy::must_use_candidate)]
55

66
pub mod scalar;

examples/nbody/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! The N-body benchmark from the [benchmarks game][bg].
22
//!
33
//! [bg]: https://benchmarksgame-team.pages.debian.net/benchmarksgame/description/nbody.html#nbody
4-
#![deny(warnings, rust_2018_idioms)]
4+
#![deny(rust_2018_idioms)]
55
#![allow(
66
clippy::similar_names,
77
clippy::excessive_precision,

0 commit comments

Comments
 (0)