更新libclamav库1.0.0版本
This commit is contained in:
16
clamav/libclamav_rust/.cargo/vendor/rayon/tests/issue671.rs
vendored
Normal file
16
clamav/libclamav_rust/.cargo/vendor/rayon/tests/issue671.rs
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#![type_length_limit = "500000"]
|
||||
|
||||
use rayon::prelude::*;
|
||||
|
||||
#[test]
|
||||
fn type_length_limit() {
|
||||
let _ = Vec::<Result<(), ()>>::new()
|
||||
.into_par_iter()
|
||||
.map(|x| x)
|
||||
.map(|x| x)
|
||||
.map(|x| x)
|
||||
.map(|x| x)
|
||||
.map(|x| x)
|
||||
.map(|x| x)
|
||||
.collect::<Result<(), ()>>();
|
||||
}
|
Reference in New Issue
Block a user