MCPcopy Create free account
hub / github.com/argumentcomputer/ix / kernel_check_diag_threshold

Function kernel_check_diag_threshold

crates/ffi/src/kernel.rs:2127–2136  ·  view source on GitHub ↗

Threshold (max cache len) above which a per-block diagnostic line is emitted, when `IX_KERNEL_CHECK_DIAG=1`. Default 100k entries — empirically well above the typical mathlib block, so only the heavy outliers print. Override with `IX_KERNEL_CHECK_DIAG_THRESHOLD=N`.

()

Source from the content-addressed store, hash-verified

2125 for n in &names_vec {
2126 match by_name.get(&normalize_displayed_name(n)) {
2127 Some(a) => resolved.push(a.clone()),
2128 None => missing.push(n),
2129 }
2130 }
2131 if !missing.is_empty() {
2132 return LeanIOResult::error_string(&format!(
2133 "rs_env_extract: no constant(s) named [{}] in {path}",
2134 missing.join(", ")
2135 ));
2136 }
2137
2138 let mut slice: &[u8] = &bytes;
2139 let anon = match IxonEnv::get_anon(&mut slice) {

Callers 1

Calls 1

env_usizeFunction · 0.85

Tested by

no test coverage detected