Skip to main content

fill_compilers

Function fill_compilers 

Source
pub(crate) fn fill_compilers(sess: &mut Session)
Expand description

Probes for C and C++ compilers and configures the corresponding entries in the Session structure.

This function determines which targets need a C compiler (and, if needed, a C++ compiler) by combining the primary build target, host targets, and any additional targets. For each target, it calls fill_target_compiler to configure the necessary compiler tools.