Skip to content

Commit 1c3d957

Browse files
Merge pull request rust-lang#96 from rust-lang/burning-chrome
Reduce wasm test suite
2 parents 0682c31 + 81c9633 commit 1c3d957

File tree

4 files changed

+17
-20
lines changed

4 files changed

+17
-20
lines changed

Diff for: .travis.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -42,29 +42,29 @@ matrix:
4242
env: RUSTFLAGS=-Ctarget-feature=+avx512vl
4343

4444
# WebAssembly (wasm-bindgen)
45-
- name: "wasm32-unknown-unknown (node, firefox, chrome)"
45+
- name: "wasm32-unknown-unknown (firefox)"
4646
os: linux
4747
arch: amd64
4848
addons:
49-
firefox: latest
50-
chrome: stable
49+
firefox: latest-nightly
5150
install:
5251
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
5352
script:
54-
- wasm-pack test --node --firefox --chrome --headless crates/core_simd
55-
- wasm-pack test --node --firefox --chrome --headless crates/core_simd --release
53+
- wasm-pack test --firefox --headless crates/core_simd
54+
- wasm-pack test --firefox --headless crates/core_simd --release
5655

57-
- name: "wasm32-unknown-unknown+simd128 (chrome)"
58-
os: linux
59-
arch: amd64
60-
addons:
61-
chrome: stable
62-
install:
63-
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
64-
script:
65-
- export RUSTFLAGS="-C target-feature=+simd128"
66-
- wasm-pack test --chrome --headless crates/core_simd
67-
- wasm-pack test --chrome --headless crates/core_simd --release
56+
# FIXME: See https://github.com/rust-lang/stdsimd/issues/92
57+
# - name: "wasm32-unknown-unknown+simd128 (firefox)"
58+
# os: linux
59+
# arch: amd64
60+
# addons:
61+
# firefox: latest-nightly
62+
# install:
63+
# - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
64+
# script:
65+
# - export RUSTFLAGS="-C target-feature=+simd128"
66+
# - wasm-pack test --firefox --headless crates/core_simd
67+
# - wasm-pack test --firefox --headless crates/core_simd --release
6868

6969
script:
7070
- echo "## Requested target configuration (RUSTFLAGS=$RUSTFLAGS)"

Diff for: crates/core_simd/src/transmute.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/// Provides implementations of `From<$a> for $b` and `From<$b> for $a` that transmutes the value.
2+
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
23
macro_rules! from_transmute {
34
{ unsafe $a:ty => $b:ty } => {
45
from_transmute!{ @impl $a => $b }

Diff for: crates/core_simd/tests/f32_ops.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(is_subnormal)]
2-
31
#[macro_use]
42
mod ops_macros;
53
impl_float_tests! { SimdF32, f32, i32 }

Diff for: crates/core_simd/tests/f64_ops.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(is_subnormal)]
2-
31
#[macro_use]
42
mod ops_macros;
53
impl_float_tests! { SimdF64, f64, i64 }

0 commit comments

Comments
 (0)