Function find_target

Source
pub fn find_target(build: &Build, target: TargetSelection)
Expand description

Probes and configures the C and C++ compilers for a single target.

This function uses both user-specified configuration (from bootstrap.toml) and auto-detection logic to determine the correct C/C++ compilers for the target. It also determines the appropriate archiver (ar) and sets up additional compilation flags (both handled and unhandled).