Build an `IO (Array (Option CheckError))` from Rust results. The Lean caller pairs each slot with `names[i]` (the input array) for display, so there's no name in the returned tuple.
(results: &[CheckRes])
| 2975 | quiet: bool, |
| 2976 | ) -> Result<ProfileStats, String> { |
| 2977 | let load_start = Instant::now(); |
| 2978 | let ixon_env = IxonEnv::get_anon_mmap(std::path::Path::new(path)) |
| 2979 | .map_err(|e| format!("profile: mmap+deserialize {path}: {e}"))?; |
| 2980 | eprintln!( |
| 2981 | "[rs_kernel_profile] loaded {} consts in {:.1?}", |
| 2982 | ixon_env.const_count(), |
| 2983 | load_start.elapsed() |
| 2984 | ); |
| 2985 | let (work, addrs) = build_anon_work(&ixon_env)?; |
| 2986 | let targets = addrs.len(); |
no test coverage detected