diff --git a/scripts/tests.sh b/scripts/tests.sh index d689b9aad62..1b8858eb4ab 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -139,7 +139,10 @@ function extended_sysroot_tests() { pushd stdsimd echo "[TEST] rust-lang/stdsimd" - ../build/cargo test -q + ../build/cargo build --all-targets --target $TARGET_TRIPLE + if [[ "$HOST_TRIPLE" = "$TARGET_TRIPLE" ]]; then + ../build/cargo test -q + fi popd } diff --git a/src/intrinsics/mod.rs b/src/intrinsics/mod.rs index 6a818e2df1e..17c79645eb2 100644 --- a/src/intrinsics/mod.rs +++ b/src/intrinsics/mod.rs @@ -236,6 +236,7 @@ fn simd_reduce<'tcx>( ret.write_cvalue(fx, res); } +// FIXME move all uses to `simd_reduce` fn simd_reduce_bool<'tcx>( fx: &mut FunctionCx<'_, '_, 'tcx>, val: CValue<'tcx>,