pub fn validate_kernel_config(kernel_dir: &Path) -> Result<()>Expand description
Validate the output .config for critical options that the kconfig fragment requested but the kernel build system may have silently disabled (e.g. CONFIG_DEBUG_INFO_BTF requires pahole).
Call after make succeeds. Returns Err with a diagnostic
message listing missing options and likely causes.