@@ -366,14 +366,25 @@ rotate!(rotate_medium_half, gen_random, 9158, 9158 / 2);
366366rotate ! ( rotate_medium_half_plus_one, gen_random, 9158 , 9158 / 2 + 1 ) ;
367367
368368// Intended to use more RAM than the machine has cache
369+ #[ cfg( not( target_os = "emscripten" ) ) ] // hits an OOM
369370rotate ! ( rotate_huge_by1, gen_random, 5 * 1024 * 1024 , 1 ) ;
371+ #[ cfg( not( target_os = "emscripten" ) ) ] // hits an OOM
370372rotate ! ( rotate_huge_by9199_u64, gen_random, 5 * 1024 * 1024 , 9199 ) ;
373+ #[ cfg( not( target_os = "emscripten" ) ) ] // hits an OOM
371374rotate ! ( rotate_huge_by9199_bytes, gen_random_bytes, 5 * 1024 * 1024 , 9199 ) ;
375+ #[ cfg( not( target_os = "emscripten" ) ) ] // hits an OOM
372376rotate ! ( rotate_huge_by9199_strings, gen_strings, 5 * 1024 * 1024 , 9199 ) ;
377+ #[ cfg( not( target_os = "emscripten" ) ) ] // hits an OOM
373378rotate ! ( rotate_huge_by9199_big, gen_big_random, 5 * 1024 * 1024 , 9199 ) ;
379+ #[ cfg( not( target_os = "emscripten" ) ) ] // hits an OOM
374380rotate ! ( rotate_huge_by1234577_u64, gen_random, 5 * 1024 * 1024 , 1234577 ) ;
381+ #[ cfg( not( target_os = "emscripten" ) ) ] // hits an OOM
375382rotate ! ( rotate_huge_by1234577_bytes, gen_random_bytes, 5 * 1024 * 1024 , 1234577 ) ;
383+ #[ cfg( not( target_os = "emscripten" ) ) ] // hits an OOM
376384rotate ! ( rotate_huge_by1234577_strings, gen_strings, 5 * 1024 * 1024 , 1234577 ) ;
385+ #[ cfg( not( target_os = "emscripten" ) ) ] // hits an OOM
377386rotate ! ( rotate_huge_by1234577_big, gen_big_random, 5 * 1024 * 1024 , 1234577 ) ;
387+ #[ cfg( not( target_os = "emscripten" ) ) ] // hits an OOM
378388rotate ! ( rotate_huge_half, gen_random, 5 * 1024 * 1024 , 5 * 1024 * 1024 / 2 ) ;
389+ #[ cfg( not( target_os = "emscripten" ) ) ] // hits an OOM
379390rotate ! ( rotate_huge_half_plus_one, gen_random, 5 * 1024 * 1024 , 5 * 1024 * 1024 / 2 + 1 ) ;
0 commit comments