Function get_gcc_build_status

Source
pub fn get_gcc_build_status(
    builder: &Builder<'_>,
    target: TargetSelection,
) -> GccBuildStatus
Expand description

This returns information about whether GCC should be built or if it’s already built. It transparently handles downloading GCC from CI if needed.

It’s used to avoid busting caches during x.py check – if we’ve already built GCC, it’s fine for us to not try to avoid doing so.