MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / main

Function main

tests/binary/primes/src/main.rs:37–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37fn main() {
38 let mut primes = [0u32; 10];
39 let found = find_primes(10_000, 10, &mut primes);
40
41 let mut i: usize = 0;
42 while i < found {
43 assert!(is_prime(primes[i]));
44 i += 1;
45 }
46}

Callers

nothing calls this directly

Calls 1

find_primesFunction · 0.85

Tested by

no test coverage detected