Skip to content

Commit f60e900

Browse files
Merge pull request #322 from rust-lang/get-current
0.3.5: Get current with rustc const generics
2 parents 858794f + e57c7ba commit f60e900

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+2264
-818
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?

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "packed_simd_2"
3-
version = "0.3.4"
3+
version = "0.3.5"
44
authors = ["Gonzalo Brito Gadeschi <[email protected]>", "Jubilee Young <[email protected]>"]
55
description = "Portable Packed SIMD vectors"
66
documentation = "https://docs.rs/crate/packed_simd/"

build.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
fn main() {
2-
let target = std::env::var("TARGET")
3-
.expect("TARGET environment variable not defined");
2+
let target = std::env::var("TARGET").expect("TARGET environment variable not defined");
43
if target.contains("neon") {
54
println!("cargo:rustc-cfg=libcore_neon");
65
}

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;

0 commit comments

Comments
 (0)