Skip to content

Reduce wasm test suite #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,29 +42,29 @@ matrix:
env: RUSTFLAGS=-Ctarget-feature=+avx512vl

# WebAssembly (wasm-bindgen)
- name: "wasm32-unknown-unknown (node, firefox, chrome)"
- name: "wasm32-unknown-unknown (firefox)"
os: linux
arch: amd64
addons:
firefox: latest
chrome: stable
firefox: latest-nightly
install:
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
script:
- wasm-pack test --node --firefox --chrome --headless crates/core_simd
- wasm-pack test --node --firefox --chrome --headless crates/core_simd --release
- wasm-pack test --firefox --headless crates/core_simd
- wasm-pack test --firefox --headless crates/core_simd --release

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

script:
- echo "## Requested target configuration (RUSTFLAGS=$RUSTFLAGS)"
Expand Down
1 change: 1 addition & 0 deletions crates/core_simd/src/transmute.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// Provides implementations of `From<$a> for $b` and `From<$b> for $a` that transmutes the value.
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
macro_rules! from_transmute {
{ unsafe $a:ty => $b:ty } => {
from_transmute!{ @impl $a => $b }
Expand Down
2 changes: 0 additions & 2 deletions crates/core_simd/tests/f32_ops.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(is_subnormal)]

#[macro_use]
mod ops_macros;
impl_float_tests! { SimdF32, f32, i32 }
2 changes: 0 additions & 2 deletions crates/core_simd/tests/f64_ops.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(is_subnormal)]

#[macro_use]
mod ops_macros;
impl_float_tests! { SimdF64, f64, i64 }