Sha256: d5eb38d8a6d8f66fdf1c40293abbf58f3ac42b5acfc5dca62b02c7ace5bfc1a4

Contents?: true

Size: 353 Bytes

Versions: 38

Compression:

Stored size: 353 Bytes

Contents

#![type_length_limit = "10000"]

use rayon::prelude::*;

#[test]
fn type_length_limit() {
    let input = vec![1, 2, 3, 4, 5];
    let (indexes, (squares, cubes)): (Vec<_>, (Vec<_>, Vec<_>)) = input
        .par_iter()
        .map(|x| (x * x, x * x * x))
        .enumerate()
        .unzip();

    drop(indexes);
    drop(squares);
    drop(cubes);
}

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/rayon-1.10.0/tests/issue671-unzip.rs
wasmtime-28.0.0 ./ext/cargo-vendor/rayon-1.10.0/tests/issue671-unzip.rs
wasmtime-27.0.0 ./ext/cargo-vendor/rayon-1.10.0/tests/issue671-unzip.rs
wasmtime-26.0.0 ./ext/cargo-vendor/rayon-1.10.0/tests/issue671-unzip.rs
wasmtime-25.0.2 ./ext/cargo-vendor/rayon-1.10.0/tests/issue671-unzip.rs
wasmtime-25.0.1 ./ext/cargo-vendor/rayon-1.10.0/tests/issue671-unzip.rs
wasmtime-25.0.0 ./ext/cargo-vendor/rayon-1.10.0/tests/issue671-unzip.rs
wasmtime-24.0.0 ./ext/cargo-vendor/rayon-1.10.0/tests/issue671-unzip.rs
wasmtime-23.0.2 ./ext/cargo-vendor/rayon-1.8.0/tests/issue671-unzip.rs
wasmtime-22.0.0 ./ext/cargo-vendor/rayon-1.8.0/tests/issue671-unzip.rs
wasmtime-21.0.1 ./ext/cargo-vendor/rayon-1.8.0/tests/issue671-unzip.rs
wasmtime-20.0.2 ./ext/cargo-vendor/rayon-1.8.0/tests/issue671-unzip.rs
wasmtime-20.0.0 ./ext/cargo-vendor/rayon-1.8.0/tests/issue671-unzip.rs
wasmtime-18.0.3 ./ext/cargo-vendor/rayon-1.8.0/tests/issue671-unzip.rs
wasmtime-17.0.1 ./ext/cargo-vendor/rayon-1.8.0/tests/issue671-unzip.rs
wasmtime-17.0.0 ./ext/cargo-vendor/rayon-1.8.0/tests/issue671-unzip.rs
wasmtime-16.0.0 ./ext/cargo-vendor/rayon-1.8.0/tests/issue671-unzip.rs
wasmtime-15.0.1 ./ext/cargo-vendor/rayon-1.8.0/tests/issue671-unzip.rs
wasmtime-15.0.0 ./ext/cargo-vendor/rayon-1.8.0/tests/issue671-unzip.rs
wasmtime-14.0.4 ./ext/cargo-vendor/rayon-1.8.0/tests/issue671-unzip.rs