pub fn format_program_size(
size: usize,
max_size: usize,
) -> (f64, f64, Option<String>)Expand description
Formats program size as KB and returns a warning message if approaching the limit.
Both size and max_size are expected in bytes.
Returns (size_kb, max_kb, warning) where warning is Some if size exceeds 90% of max.